summaryrefslogtreecommitdiffstats
path: root/fs/inode.c
diff options
context:
space:
mode:
authorNeilBrown2011-02-21 08:25:57 +0100
committerNeilBrown2011-02-21 08:25:57 +0100
commitda9cf5050a2e3dbc3cf26a8d908482eb4485ed49 (patch)
treed5e7ea4ef419d07d294e88b47a4aaf2676a605eb /fs/inode.c
parentmd: correctly handle probe of an 'mdp' device. (diff)
downloadkernel-qcow2-linux-da9cf5050a2e3dbc3cf26a8d908482eb4485ed49.tar.gz
kernel-qcow2-linux-da9cf5050a2e3dbc3cf26a8d908482eb4485ed49.tar.xz
kernel-qcow2-linux-da9cf5050a2e3dbc3cf26a8d908482eb4485ed49.zip
md: avoid spinlock problem in blk_throtl_exit
blk_throtl_exit assumes that ->queue_lock still exists, so make sure that it does. To do this, we stop redirecting ->queue_lock to conf->device_lock and leave it pointing where it is initialised - __queue_lock. As the blk_plug functions check the ->queue_lock is held, we now take that spin_lock explicitly around the plug functions. We don't need the locking, just the warning removal. This is needed for any kernel with the blk_throtl code, which is which is 2.6.37 and later. Cc: stable@kernel.org Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions