commit | 2fff8a924d4c614b5a17b2a236a2cf09aa51af5f | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@sandisk.com> | Tue Jun 20 11:15:45 2017 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jun 20 19:27:14 2017 -0600 |
tree | 46f7b27ff3593ddeabaadd0032e5449825995fde | |
parent | 9e0c829906b9aa1e7ad84689f2bcd56457bdb417 [diff] |
block: Check locking assumptions at runtime Instead of documenting the locking assumptions of most block layer functions as a comment, use lockdep_assert_held() to verify locking assumptions at runtime. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.com> Cc: Omar Sandoval <osandov@fb.com> Cc: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>