btrfs: remove stale reada_lock from device
David Sterba
maintainerPATCH 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").
Reported-by Matthew Wilcox <[email protected]>
Signed-off-by David Sterba <[email protected]>
--- fs/btrfs/volumes.h | 1 - 1 file changed, 1 deletion(-)
fs/btrfs/volumes.h +0 -1
@@ -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