summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-09-15 15:55:23 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-09-19 17:04:12 -0400
commitd050d51de50fb4e2938613b99a354c284871f9c6 (patch)
tree33f6a05a49c95dcb4772ee1deb92df260c3c6f3c /net/lapb/lapb_out.c
parent43185e0b31a70eec4dc18c96a20049ad751e7ffd (diff)
bcachefs: fs-ioctl: Fix copy_to_user() error code
The copy_to_user() function returns the number of bytes that it wasn't able to copy but we want to return -EFAULT to the user. Fixes: e0750d947352 ("bcachefs: Initial commit") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions