Btrfs: Check if btrfs_next_leaf() returns error in btrfs_real_readdir()
authorLi Zefan <lizf@cn.fujitsu.com>
Wed, 23 Mar 2011 02:43:58 +0000 (10:43 +0800)
committerLi Zefan <lizf@cn.fujitsu.com>
Wed, 13 Apr 2011 06:25:31 +0000 (14:25 +0800)
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>

No differences found