xfs: remove s_maxbytes enforcement in xfs_file_read_iter
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Jul 2016 01:31:53 +0000 (11:31 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 20 Jul 2016 01:31:53 +0000 (11:31 +1000)
commitcf810712cc82cbfab8f08a46ca6c0289d386a303
tree4b4a278d5fbea8bdc5f86c1271ee48fa6ce6fbb4
parent3176c3e0ef32963aa5f6f9754142e420a4ba5d64
xfs: remove s_maxbytes enforcement in xfs_file_read_iter

All the three low-level read implementations that we might call already
take care of not overflowing the maximum supported bytes, no need to
duplicate it here.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_file.c