Btrfs: don't add a NULL extended attribute
authorLiu Bo <bo.li.liu@oracle.com>
Wed, 28 Nov 2012 10:43:12 +0000 (10:43 +0000)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:15 +0000 (20:46 -0500)
commit01e6deb25ae11e7b85484bf5e550eb540c50c63e
tree2a77caad6357ccc88f69e7c0c5ac655be71cf085
parent755ac67f83e515af55adbfe55134eb7d90839cdb
Btrfs: don't add a NULL extended attribute

Passing a null extended attribute value means to remove the attribute,
but we don't have to add a new NULL extended attribute.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/xattr.c