diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-01-20 18:06:51 -0800 |
|---|---|---|
| committer | Darrick J. Wong <djwong@kernel.org> | 2026-01-20 18:06:51 -0800 |
| commit | 8b85dc4090e1c72c6d42acd823514cce67cd54fc (patch) | |
| tree | bf0bf3a641b5120a37a0bad63877125967861309 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | c0e719cb36672b69a06da65ac4ec71e9a599dff5 (diff) | |
xfs: check if an open file is on the health monitored fs
Create a new ioctl for the healthmon file that checks that a given fd
points to the same filesystem that the healthmon file is monitoring.
This allows xfs_healer to check that when it reopens a mountpoint to
perform repairs, the file that it gets matches the filesystem that
generated the corruption report.
(Note that xfs_healer doesn't maintain an open fd to a filesystem that
it's monitoring so that it doesn't pin the mount.)
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
