Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188237
b: refs/heads/master
c: 1b53ac4
h: refs/heads/master
i:
  188235: 8497ec2
v: v3
  • Loading branch information
Chris Mason committed Mar 18, 2010
1 parent 2470ba0 commit dd3853f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 90fdde147fd32d18a20be5b498d5f26e56cca8a3
refs/heads/master: 1b53ac4d1b75b23bdc2b54ace787b8f718a987ef
3 changes: 3 additions & 0 deletions trunk/fs/btrfs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1215,6 +1215,9 @@ static noinline int btrfs_ioctl_ino_lookup(struct file *file,
}
inode = fdentry(file)->d_inode;

if (args->treeid == 0)
args->treeid = BTRFS_I(inode)->root->root_key.objectid;

ret = btrfs_search_path_in_tree(BTRFS_I(inode)->root->fs_info,
args->treeid, args->objectid,
args->name);
Expand Down

0 comments on commit dd3853f

Please sign in to comment.