dm mpath: really fix lockdep warning
authorHannes Reinecke <hare@suse.de>
Mon, 26 May 2014 12:45:39 +0000 (14:45 +0200)
committerMike Snitzer <snitzer@redhat.com>
Tue, 27 May 2014 14:46:01 +0000 (10:46 -0400)
commit63d832c30142cdceb478b1cac7d943d83b95b2dc
treeaff4707e1a2d707557139c09d14a7b2870d2715e
parentf1daa838e861ae1a0fb7cd9721a21258430fcc8c
dm mpath: really fix lockdep warning

lockdep complains about a circular locking.  And indeed, we need to
release the lock before calling dm_table_run_md_queue_async().

As such, commit 4cdd2ad ("dm mpath: fix lock order inconsistency in
multipath_ioctl") must also be reverted in addition to fixing the
lock order in the other dm_table_run_md_queue_async() callers.

Reported-by: Bart van Assche <bvanassche@acm.org>
Tested-by: Bart van Assche <bvanassche@acm.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c