projects
/
cascardo
/
linux.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
[cascardo/linux.git]
/
fs
/
btrfs
/
ctree.c
diff --git
a/fs/btrfs/ctree.c
b/fs/btrfs/ctree.c
index
0abed1a
..
e926b9f
100644
(file)
--- a/
fs/btrfs/ctree.c
+++ b/
fs/btrfs/ctree.c
@@
-1505,7
+1505,7
@@
static inline int should_cow_block(struct btrfs_trans_handle *trans,
struct btrfs_root *root,
struct extent_buffer *buf)
{
- if (btrfs_
test_is_dummy_root(root
))
+ if (btrfs_
is_testing(root->fs_info
))
return 0;
/* ensure we can see the force_cow */