diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-11-17 01:08:03 +0100 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-11-17 01:11:51 +0100 |
commit | bd5ab5f9874109586cbae5bc98e1f9ff574627e2 (patch) | |
tree | 1c11a6a9da8b91520cd94edeee58b412353c636f /fs/xfs | |
parent | xfs: teach scrub to flag non-extents format cow forks (diff) | |
download | linux-bd5ab5f9874109586cbae5bc98e1f9ff574627e2.tar.xz linux-bd5ab5f9874109586cbae5bc98e1f9ff574627e2.zip |
xfs: don't warn about files that are exactly s_maxbytes long
We can handle files that are exactly s_maxbytes bytes long; we just
can't handle anything larger than that.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/scrub/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/inode.c b/fs/xfs/scrub/inode.c index 51820b40ab1c..7a2f38e5202c 100644 --- a/fs/xfs/scrub/inode.c +++ b/fs/xfs/scrub/inode.c @@ -365,7 +365,7 @@ xchk_dinode( * pagecache can't cache all the blocks in this file due to * overly large offsets, flag the inode for admin review. */ - if (isize >= mp->m_super->s_maxbytes) + if (isize > mp->m_super->s_maxbytes) xchk_ino_set_warning(sc, ino); /* di_nblocks */ |