]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_healer: validate that repair fds point to the monitored fs
authorDarrick J. Wong <djwong@kernel.org>
Sun, 22 Feb 2026 22:41:16 +0000 (14:41 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 9 Apr 2026 22:30:18 +0000 (15:30 -0700)
commitc2425375f293f624233c26b457c5e6b96b65b8b7
treeedd54778a2dc087371093e3f0824e2910398bec5
parent327f964dd6f07acdac88a41271cdaabbdbc15673
xfs_healer: validate that repair fds point to the monitored fs

When xfs_healer reopens a mountpoint to perform a repair, it should
validate that the opened fd points to a file on the same filesystem as
the one being monitored.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
healer/fsrepair.c
healer/weakhandle.c
healer/xfs_healer.h