mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 00:24:12 +08:00
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>
This commit is contained in:
parent
5eef46358f
commit
bd5ab5f987
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user