diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-09-03 16:25:44 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-09-03 17:08:29 +0300 |
commit | d66c9920c0cf984cf99cab5036fd5f3a1b7fba46 (patch) | |
tree | 4b94f032bb44096974c8a34a81d65be8af94e0b4 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | d55a4ae9e1af5fb1657e38284ef46c56e668efdb (diff) | |
download | linux-d66c9920c0cf984cf99cab5036fd5f3a1b7fba46.tar.xz |
bcache: Fix an error code in bch_dump_read()
The copy_to_user() function returns the number of bytes remaining to be
copied, but the intention here was to return -EFAULT if the copy fails.
Fixes: cafe56359144 ("bcache: A block layer cache")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions