]> git.karo-electronics.de Git - linux-beck.git/commit
xfs: kill copy and paste segment checks in xfs_file_aio_read
authorDave Chinner <dchinner@redhat.com>
Fri, 8 Jun 2012 05:45:44 +0000 (15:45 +1000)
committerBen Myers <bpm@sgi.com>
Thu, 14 Jun 2012 17:28:25 +0000 (12:28 -0500)
commit5276432997feb2366ac1e77949e94fe86a394813
treed0baa43c4163d417da717606cfa2d065cdc80515
parent32972383ca46223aa2b129826b3789721ec147aa
xfs: kill copy and paste segment checks in xfs_file_aio_read

The generic segment check code now returns a count of the number of
bytes in the iovec, so we don't need to roll our own anymore.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_file.c