diff mbox

btrfs: remove stale reada_lock from device

Message ID 20180112142539.9891-1-dsterba@suse.com (mailing list archive)
State New, archived
Headers show

Commit Message

David Sterba Jan. 12, 2018, 2:25 p.m. UTC
We the global readahead lock in fs_info, the per-device has been unused
since the initial commit 90519d66abbccc ("btrfs: state information for
readahead").

Reported-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: David Sterba <dsterba@suse.com>
---
 fs/btrfs/volumes.h | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index 15216fed918b..28c28eeadff3 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -137,7 +137,6 @@  struct btrfs_device {
 	struct rcu_head rcu;
 
 	/* readahead state */
-	spinlock_t reada_lock;
 	atomic_t reada_in_flight;
 	u64 reada_next;
 	struct reada_zone *reada_curr_zone;