diff options
Diffstat (limited to 'fs/btrfs/backref.c')
-rw-r--r-- | fs/btrfs/backref.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c index ae750b1574a2..84006e3dd105 100644 --- a/fs/btrfs/backref.c +++ b/fs/btrfs/backref.c | |||
@@ -1468,7 +1468,7 @@ int btrfs_check_shared(struct btrfs_root *root, u64 inum, u64 bytenr) | |||
1468 | struct seq_list elem = SEQ_LIST_INIT(elem); | 1468 | struct seq_list elem = SEQ_LIST_INIT(elem); |
1469 | int ret = 0; | 1469 | int ret = 0; |
1470 | struct share_check shared = { | 1470 | struct share_check shared = { |
1471 | .root_objectid = root->objectid, | 1471 | .root_objectid = root->root_key.objectid, |
1472 | .inum = inum, | 1472 | .inum = inum, |
1473 | .share_count = 0, | 1473 | .share_count = 0, |
1474 | }; | 1474 | }; |
@@ -2031,7 +2031,8 @@ static int iterate_inode_refs(u64 inum, struct btrfs_root *fs_root, | |||
2031 | /* path must be released before calling iterate()! */ | 2031 | /* path must be released before calling iterate()! */ |
2032 | btrfs_debug(fs_root->fs_info, | 2032 | btrfs_debug(fs_root->fs_info, |
2033 | "following ref at offset %u for inode %llu in tree %llu", | 2033 | "following ref at offset %u for inode %llu in tree %llu", |
2034 | cur, found_key.objectid, fs_root->objectid); | 2034 | cur, found_key.objectid, |
2035 | fs_root->root_key.objectid); | ||
2035 | ret = iterate(parent, name_len, | 2036 | ret = iterate(parent, name_len, |
2036 | (unsigned long)(iref + 1), eb, ctx); | 2037 | (unsigned long)(iref + 1), eb, ctx); |
2037 | if (ret) | 2038 | if (ret) |