* [PATCH] btrfs: remove stale comment from btrfs_statfs
@ 2016-10-05 12:23 David Sterba
0 siblings, 0 replies; only message in thread
From: David Sterba @ 2016-10-05 12:23 UTC (permalink / raw)
To: linux-btrfs; +Cc: David Sterba
Signed-off-by: David Sterba <dsterba@suse.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-05 12:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-05 12:23 [PATCH] btrfs: remove stale comment from btrfs_statfs David Sterba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).