Signed-off-by: David Sterba <dsterba@xxxxxxxx>
---
fs/btrfs/super.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 4071fe2bd098..2b852ca4fea5 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -2076,10 +2076,6 @@ static int btrfs_statfs(struct dentry *dentry, struct kstatfs *buf)
u64 thresh = 0;
int mixed = 0;
- /*
- * holding chunk_mutex to avoid allocating new chunks, holding
- * device_list_mutex to avoid the device being removed
- */
rcu_read_lock();
list_for_each_entry_rcu(found, head, list) {
if (found->flags & BTRFS_BLOCK_GROUP_DATA) {
--
2.10.0
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html