OSDN Git Service

xfs: don't warn about files that are exactly s_maxbytes long
authorDarrick J. Wong <djwong@kernel.org>
Thu, 17 Nov 2022 00:08:03 +0000 (16:08 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 17 Nov 2022 00:11:51 +0000 (16:11 -0800)
commitbd5ab5f9874109586cbae5bc98e1f9ff574627e2
tree1c11a6a9da8b91520cd94edeee58b412353c636f
parent5eef46358fae1a6018d9f886a3ecd30e843728dd
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>
fs/xfs/scrub/inode.c