projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs: tests, use BTRFS_FS_STATE_DUMMY_FS_INFO instead of dummy root
[linux-2.6-block.git]
/
fs
/
btrfs
/
backref.c
diff --git
a/fs/btrfs/backref.c
b/fs/btrfs/backref.c
index 1ac8a3c7f68e8a5ba509abf078d419861898a3a7..2b88439c2ee864ffcec7a1e43f6e620a729bdbff 100644
(file)
--- a/
fs/btrfs/backref.c
+++ b/
fs/btrfs/backref.c
@@
-361,7
+361,7
@@
static int __resolve_indirect_ref(struct btrfs_fs_info *fs_info,
goto out;
}
- if (btrfs_
test_is_dummy_root(root
)) {
+ if (btrfs_
is_testing(fs_info
)) {
srcu_read_unlock(&fs_info->subvol_srcu, index);
ret = -ENOENT;
goto out;