summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorDavid Sterba2016-10-05 14:23:06 +0200
committerDavid Sterba2016-11-30 13:45:15 +0100
commit5d9dbe617a9e4e85c5fc9790c354cec903b88b57 (patch)
tree868597e6cc533cc26228802b4657c9be4f08486f /fs/btrfs
parentbtrfs: remove unused headers, statfs.h (diff)
downloadkernel-qcow2-linux-5d9dbe617a9e4e85c5fc9790c354cec903b88b57.tar.gz
kernel-qcow2-linux-5d9dbe617a9e4e85c5fc9790c354cec903b88b57.tar.xz
kernel-qcow2-linux-5d9dbe617a9e4e85c5fc9790c354cec903b88b57.zip
btrfs: remove stale comment from btrfs_statfs
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/super.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 74ed5aae6cea..adec3a0b01d5 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -2086,10 +2086,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) {