]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: allow inodes with zero extents but nonzero nblocks
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:39:53 +0000 (12:39 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:36:24 +0000 (13:36 -0800)
commit1e3c12b0f86e14654593cb9d246481e7740aaadd
tree6a296e3da202ffc7ba82534db699b1cd5481e760
parentf79d51c98f1a0f25deaf8e0b41f9d4ecefe81d82
xfs: allow inodes with zero extents but nonzero nblocks

Metadata inodes that store btrees will have zero extents and a nonzero
nblocks.  Adjust the inode verifier so that this combination is not
flagged.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/libxfs/xfs_inode_buf.c