diff options
author | 2023-09-14 17:58:07 +0300 | |
---|---|---|
committer | 2023-10-22 17:10:14 -0400 | |
commit | 301e0237cadfc7c446e16eab6df38073ade3631d (patch) | |
tree | c38cb8a10b7856192f8f8dd9eb1c178a04daca1a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcachefs: Change bucket_lock() to use bit_spin_lock() (diff) | |
download | wireguard-linux-301e0237cadfc7c446e16eab6df38073ade3631d.tar.xz wireguard-linux-301e0237cadfc7c446e16eab6df38073ade3631d.zip |
bcachefs: chardev: return -EFAULT if copy_to_user() fails
The copy_to_user() function returns the number of bytes remaining 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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions