]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dm: verify suspend_locking assumptions at runtime
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 27 Apr 2017 17:11:21 +0000 (10:11 -0700)
committerMike Snitzer <snitzer@redhat.com>
Thu, 27 Apr 2017 21:08:42 +0000 (17:08 -0400)
commit1ea0654e46eb62acc379000be2f16350101ebf85
tree52dceb575d77441dbbd2a5a2ec9f56f54304a2bc
parent73cbca6a637eb88738ea5a5cd6a611bbbca8ac19
dm: verify suspend_locking assumptions at runtime

Ensure that the assumptions about the caller holding suspend_lock
are checked at runtime 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-table.c
drivers/md/dm.c