]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdd2b967ff0db78f3aa4e290d15cc43cb58be76b8
treeaff4707e1a2d707557139c09d14a7b2870d2715e
parent61f203c44c031c477f5883c2ef7330207a37e4ee
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 13b102f ("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