projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'drm-intel-fixes-2014-06-17' of git://anongit.freedesktop.org/drm-intel...
[firefly-linux-kernel-4.4.55.git]
/
fs
/
btrfs
/
tree-defrag.c
diff --git
a/fs/btrfs/tree-defrag.c
b/fs/btrfs/tree-defrag.c
index 76928ca97741c61ca4c65513266bbc15b2502d05..a63719cc95787e2c6c2c8e55c4d674de3f58e19b 100644
(file)
--- a/
fs/btrfs/tree-defrag.c
+++ b/
fs/btrfs/tree-defrag.c
@@
-49,7
+49,7
@@
int btrfs_defrag_leaves(struct btrfs_trans_handle *trans,
goto out;
}
- if (
root->ref_cows == 0
)
+ if (
!test_bit(BTRFS_ROOT_REF_COWS, &root->state)
)
goto out;
if (btrfs_test_opt(root, SSD))