diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-09-18 20:05:53 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-09-24 11:47:34 (GMT) |
commit | f9098980ffea9c749622ff8ddf3b6d5831902a46 (patch) | |
tree | 043b5bbb89f394c5508534d67102e8a02f6f9c64 /fs/cifs | |
parent | 42cb56ae2ab67390da34906b27bedc3f2ff1393b (diff) | |
download | linux-fsl-qoriq-f9098980ffea9c749622ff8ddf3b6d5831902a46.tar.xz |
vfs: remove redundant position check in do_sendfile
As Johannes Weiner pointed out, one of the range checks in do_sendfile
is redundant and is already checked in rw_verify_area.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Robert Love <rlove@google.com>
Cc: Mandeep Singh Baines <msb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs')
0 files changed, 0 insertions, 0 deletions