]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9451229ac46c76eb5a764b1b018aebe17dd3d036
treec47922602bf794586a0a45d51e88a8010875cde4
parent07474bb86670d3a29d150d8e27cf497698754178
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