Skip to content
Commit bc61384d authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 2958ec17
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment