Skip to contentSkip to conversation

btrfs: remove stale reada_lock from device

PATCH New David Sterba 1 participant 1 message Jan 12, 2018 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

PATCH 1/1 btrfs: remove stale reada_lock from device

We the global readahead lock in fs_info, the per-device has been unused since the initial commit 90519d66abbccc ("btrfs: state information for readahead").

---
 fs/btrfs/volumes.h | 1 -
 1 file changed, 1 deletion(-)
fs/btrfs/volumes.h +0 -1
index 15216fed918b..28c28eeadff3 100644
@@ -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;
Signature · 1 line
2.15.1