Btrfs: handle ERR_PTR from posix_acl_from_xattr()
authorDan Carpenter <error27@gmail.com>
Sat, 29 May 2010 09:48:35 +0000 (09:48 +0000)
committerChris Mason <chris.mason@oracle.com>
Fri, 11 Jun 2010 19:57:39 +0000 (15:57 -0400)
commit834e74759a473f8101a273e843d1edec2778801d
treef7009149bb1ca362737b2e6b7dc855326d90f079
parent15e7000095e6fc9ad07e476a100c900c72c14225
Btrfs: handle ERR_PTR from posix_acl_from_xattr()

posix_acl_from_xattr() returns both ERR_PTRs and null, but it's OK to
pass null values to set_cached_acl()

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/acl.c