Skip to content
Commit b9e03af0 authored by Li Zefan's avatar Li Zefan
Browse files

Btrfs: Check if btrfs_next_leaf() returns error in btrfs_real_readdir()



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: default avatarLi Zefan <lizf@cn.fujitsu.com>
parent 2e6a0035
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment