]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove the s_maxbytes checks in xfs_map_blocks
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Feb 2019 16:02:47 +0000 (08:02 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sun, 17 Feb 2019 19:55:53 +0000 (11:55 -0800)
commitffdb72d9ad9fd4374a60426a4ec10f980a28520f
tree1cc59d304f3cc78c3c7cf77410fc2874a61336a2
parent6211224b16f8f4830a3aefe3344eb417b725ee5b
xfs: remove the s_maxbytes checks in xfs_map_blocks

We already ensure all data fits into s_maxbytes in the write / fault
path.  The only reason we have them here is that they were copy and
pasted from xfs_bmapi_read when we stopped using that function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_aops.c