aboutsummaryrefslogtreecommitdiffstats
path: root/fs/compat_ioctl.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-05-14 16:02:22 -0600
committerJens Axboe <axboe@kernel.dk>2019-05-31 15:30:03 -0600
commit87e5e6dab6c2a21fab2620f37786276d202e2ce0 (patch)
tree617496186deb33cc30c77506130bc21973c77710 /fs/compat_ioctl.c
parentblock: print offending values when cloned rq limits are exceeded (diff)
downloadlinux-dev-87e5e6dab6c2a21fab2620f37786276d202e2ce0.tar.xz
linux-dev-87e5e6dab6c2a21fab2620f37786276d202e2ce0.zip
uio: make import_iovec()/compat_import_iovec() return bytes on success
Currently these functions return < 0 on error, and 0 for success. Change that so that we return < 0 on error, but number of bytes for success. Some callers already treat the return value that way, others need a slight tweak. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions