diff options
author | Alex Elder <elder@inktank.com> | 2013-02-05 13:23:12 -0600 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-02-13 18:29:11 -0800 |
commit | a14ea269dd6b5e48a2941ba73b202cd7cd5d716d (patch) | |
tree | c97e4fcb5c80c03f769cf7e2408d2c88e88d6d4b /mm | |
parent | 9cbb1d7268afa997a7f96d779470cc57d28e1a13 (diff) | |
download | op-kernel-dev-a14ea269dd6b5e48a2941ba73b202cd7cd5d716d.zip op-kernel-dev-a14ea269dd6b5e48a2941ba73b202cd7cd5d716d.tar.gz |
rbd: turn off interrupts for open/remove locking
This commit:
bc7a62ee5 rbd: prevent open for image being removed
added checking for removing rbd before allowing an open, and used
the same request spinlock for protecting that and updating the open
count as is used for the request queue.
However it used the non-irq protected version of the spinlocks.
Fix that.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions