diff options
| author | 2013-08-14 03:00:21 +0100 | |
|---|---|---|
| committer | 2013-09-01 08:15:49 -0400 | |
| commit | 18674c6cc10e78745f7af7faf26583ea9fe78c38 (patch) | |
| tree | 16a32e2864b5751ed38e5d92bc996f25e2f291a9 /fs/btrfs/backref.c | |
| parent | Btrfs: add missing error code to BTRFS_IOC_INO_LOOKUP handler (diff) | |
| download | linux-dev-18674c6cc10e78745f7af7faf26583ea9fe78c38.tar.xz linux-dev-18674c6cc10e78745f7af7faf26583ea9fe78c38.zip | |
Btrfs: don't miss inode ref items in BTRFS_IOC_INO_LOOKUP
If the inode ref key was not found and the current leaf slot
was 0 (first item in the leaf) the code would always return
-ENOENT. This was not correct because the desired inode ref
item might be the last item in the previous leaf.
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/backref.c')
0 files changed, 0 insertions, 0 deletions
