commit | 4cdd2ad78098244c1bc9ec4374ea1c225fd1cd6f | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Tue May 13 13:49:39 2014 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Wed May 14 16:12:17 2014 -0400 |
tree | 9892d1a825e80cd6299ec49e3279166124a551f9 | |
parent | 85ad643b7e7e52d37620fb272a9fd577a8095647 [diff] |
dm mpath: fix lock order inconsistency in multipath_ioctl Commit 3e9f1be1b40 ("dm mpath: remove process_queued_ios()") did not consistently take the multipath device's spinlock (m->lock) before calling dm_table_run_md_queue_async() -- which takes the q->queue_lock. Found with code inspection using hint from reported lockdep warning. Reported-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Mike Snitzer <snitzer@redhat.com>