summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro2016-04-01 03:48:20 +0200
committerAl Viro2016-04-04 01:51:39 +0200
commitbc61384dcdd82a6faabafecdcd80040625db5e40 (patch)
treeac9b46ce9b1d9e24e8158bc9577f061e3aaaaf3a /include
parentaio: remove a pointless assignment (diff)
downloadkernel-qcow2-linux-bc61384dcdd82a6faabafecdcd80040625db5e40.tar.gz
kernel-qcow2-linux-bc61384dcdd82a6faabafecdcd80040625db5e40.tar.xz
kernel-qcow2-linux-bc61384dcdd82a6faabafecdcd80040625db5e40.zip
rw_verify_area(): saner calling conventions
Lift length capping into the few callers that care about it. Most of them treat all non-negatives as "success" and ignore the capped value, and with good reasons. Make rw_verify_area() return 0 on success. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions