From: Mike Snitzer Date: Tue, 13 May 2014 17:49:39 +0000 (-0400) Subject: dm mpath: fix lock order inconsistency in multipath_ioctl X-Git-Tag: omap-for-v3.16/fixes-against-rc1~175^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cdd2ad78098244c1bc9ec4374ea1c225fd1cd6f;p=pandora-kernel.git 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 Signed-off-by: Mike Snitzer --- Reading git-diff-tree failed