dm mpath: verify __pg_init_all_paths locking assumptions at runtime
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 27 Apr 2017 17:11:22 +0000 (10:11 -0700)
committerMike Snitzer <snitzer@redhat.com>
Thu, 27 Apr 2017 21:08:43 +0000 (17:08 -0400)
commitb194679fac3067e785f432109c69759aa75b038c
treef650ebbced17f5f826238822d732d9eb99d04f7f
parent1ea0654e46eb62acc379000be2f16350101ebf85
dm mpath: verify __pg_init_all_paths locking assumptions at runtime

Verify at runtime that __pg_init_all_paths() is called with
multipath.lock held if lockdep is enabled.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c