Skip to content
Commit 5cdf83ed authored by Filipe Manana's avatar Filipe Manana Committed by Chris Mason
Browse files

Btrfs: do not ignore errors from btrfs_lookup_xattr in do_setxattr



The return value from btrfs_lookup_xattr() can be a pointer encoding an
error, therefore deal with it. This fixes commit 5f5bc6b1
("Btrfs: make xattr replace operations atomic").

Signed-off-by: default avatarFilipe Manana <fdmanana@suse.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 5dfe2be7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment