diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-04-01 04:48:20 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-04-04 02:51:39 +0300 |
commit | bc61384dcdd82a6faabafecdcd80040625db5e40 (patch) | |
tree | ac9b46ce9b1d9e24e8158bc9577f061e3aaaaf3a /fs/coredump.c | |
parent | 2958ec177e400be1e26fc37e1759f84fa2c1761c (diff) | |
download | linux-bc61384dcdd82a6faabafecdcd80040625db5e40.tar.xz |
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 'fs/coredump.c')
0 files changed, 0 insertions, 0 deletions