]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Btrfs: Check if btrfs_next_leaf() returns error in btrfs_listxattr()
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 17 Mar 2011 07:17:59 +0000 (15:17 +0800)
committerLi Zefan <lizf@cn.fujitsu.com>
Wed, 13 Apr 2011 06:25:28 +0000 (14:25 +0800)
commit2e6a00356a066d34cd00872b067589549169ad48
tree3fb780843d0f88b4e2939e33796eee5b96ae1716
parent109b36a2bb3eebf5c9994980e724958a5b2b62b6
Btrfs: Check if btrfs_next_leaf() returns error in btrfs_listxattr()

btrfs_next_leaf() can return -errno, and we should propagate
it to userspace.

This also simplifies how we walk the btree path.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
fs/btrfs/xattr.c