aboutsummaryrefslogtreecommitdiff
path: root/fs/9p
diff options
context:
space:
mode:
authorChris Mason2010-03-18 12:23:10 -0400
committerChris Mason2010-03-18 12:23:10 -0400
commit8ad6fcab564c5bc956bdc3dfa440ab152b6e780f (patch)
tree38670d63e5315650f3e6efe2a2a8025e945b4743 /fs/9p
parent1b53ac4d1b75b23bdc2b54ace787b8f718a987ef (diff)
Btrfs: fix the inode ref searches done by btrfs_search_path_in_tree
This is used by the inode lookup ioctl to follow all the backrefs up to the subvol root. But the search being done would sometimes land one past the last item in the leaf instead of finding the backref. This changes the search to look for the highest possible backref and hop back one item. It also fixes a leaked path on failure to find the root. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions