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)
commitb4e29032f254fed39ef2251807322f36c3ede1aa
tree1cc59d304f3cc78c3c7cf77410fc2874a61336a2
parentbe225fec72ed10a7e2c81a1ddd0d081a80238bff
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