diff options
author | Christoph Hellwig <hch@lst.de> | 2024-05-10 08:51:02 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2025-03-03 08:17:08 -0700 |
commit | 1cf4554e7bd859ea7131e15b237b8fed8f8eb6d4 (patch) | |
tree | 3653ff633a0f69a77576d51a52c7a2dbe2dfd8fc | |
parent | 01b71e64bb875b329e5b04715d96a477b86ba5de (diff) |
xfs: allow COW forks on zoned file systems in xchk_bmap
Zoned file systems can have COW forks even without reflinks.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
-rw-r--r-- | fs/xfs/scrub/bmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/scrub/bmap.c b/fs/xfs/scrub/bmap.c index 66da7d4d56ba..4f1e2574660d 100644 --- a/fs/xfs/scrub/bmap.c +++ b/fs/xfs/scrub/bmap.c @@ -1038,8 +1038,8 @@ xchk_bmap( switch (whichfork) { case XFS_COW_FORK: - /* No CoW forks on non-reflink filesystems. */ - if (!xfs_has_reflink(mp)) { + /* No CoW forks filesystem doesn't support out of place writes */ + if (!xfs_has_reflink(mp) && !xfs_has_zoned(mp)) { xchk_ino_set_corrupt(sc, sc->ip->i_ino); return 0; } |