summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-10-05 14:23:06 +0200
committerDavid Sterba <dsterba@suse.com>2016-11-30 13:45:15 +0100
commit5d9dbe617a9e4e85c5fc9790c354cec903b88b57 (patch)
tree868597e6cc533cc26228802b4657c9be4f08486f
parent926b92335a607e787d8d111d872f82de6d5988d5 (diff)
downloadlinux-stable-5d9dbe617a9e4e85c5fc9790c354cec903b88b57.tar.gz
linux-stable-5d9dbe617a9e4e85c5fc9790c354cec903b88b57.tar.bz2
linux-stable-5d9dbe617a9e4e85c5fc9790c354cec903b88b57.zip
btrfs: remove stale comment from btrfs_statfs
Signed-off-by: David Sterba <dsterba@suse.com>
-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) {