null_blk: add lock drop/acquire annotation
authorJens Axboe <axboe@kernel.dk>
Thu, 9 Aug 2018 20:22:41 +0000 (14:22 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 9 Aug 2018 20:22:41 +0000 (14:22 -0600)
commit61884de08f8368b9aa289ab8dc953e0ce4c755b1
treec47922602bf794586a0a45d51e88a8010875cde4
parent991f61fe7e1db3f74b72a3a5cbe6b012804eb0ee
null_blk: add lock drop/acquire annotation

sparse complains:

drivers/block/null_blk_main.c:816:24: sparse: context imbalance in 'null_insert_page' - unexpected unlock

Fix it by adding the necessary annotations to the function.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk_main.c