bcachefs: Fix copy_to_user() usage in flush_buf()
copy_to_user() returns the number of bytes successfully copied - not an errcode. Reported-by:Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by:
Kent Overstreet <kent.overstreet@linux.dev>
Showing
Please register or sign in to comment