From: Filipe Manana Date: Mon, 23 Feb 2015 19:50:49 +0000 (+0000) Subject: Btrfs: do not ignore errors from btrfs_lookup_xattr in do_setxattr X-Git-Tag: omap-for-v4.1/wl12xx-dt~54^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cdf83edb8e41cad1ec8eab2d402b4f9d9eb7ee0;p=pandora-kernel.git 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 5f5bc6b1e2d5 ("Btrfs: make xattr replace operations atomic"). Signed-off-by: Filipe Manana Signed-off-by: Chris Mason --- Reading git-diff-tree failed