There is a typo here and the '-' character was accidentally left off. Fixes: 2dc8b96809b2 ("btrfs: allow extent buffer helpers to skip cross-page handling") Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> --- fs/btrfs/extent_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index f9b47f5d7e3d..62963bc6f61b 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -4085,7 +4085,7 @@ int read_extent_buffer_to_user_nofault(const struct extent_buffer *eb, if (eb->addr) { if (copy_to_user_nofault(dstv, eb->addr + start, len)) - ret = EFAULT; + ret = -EFAULT; return ret; } -- 2.42.0