btrfs: Remove unused readahead spinlock
authorMatthew Wilcox <mawilcox@microsoft.com>
Wed, 17 Jan 2018 20:21:49 +0000 (12:21 -0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:21 +0000 (16:08 +0100)
commit3cbf26da5ec85f1d3177eee534e377c707ed89e1
treedeac9284b8923cd1483d44cf47cfa8a62c6a6e27
parent7583d8d088ff2c323b1d4f15b191ca2c23d32558
btrfs: Remove unused readahead spinlock

The reada_lock in struct btrfs_device was only initialised, and not
actually used.  That's good because there's another lock also called
reada_lock in the btrfs_fs_info that was quite heavily used.  Remove
this one.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c
fs/btrfs/volumes.h