summaryrefslogtreecommitdiffstats
path: root/drivers/block/null_blk.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-01-10 20:34:27 +0100
committerJens Axboe <axboe@kernel.dk>2018-01-10 20:36:02 +0100
commitb7435db8b8d11df94453708295c2ea5b09caff5f (patch)
treed86bd3372a7b0b57acaf34da373a29d8ac71f642 /drivers/block/null_blk.c
parentblock: silently forbid sending any ioctl to a partition (diff)
downloadlinux-b7435db8b8d11df94453708295c2ea5b09caff5f.tar.xz
linux-b7435db8b8d11df94453708295c2ea5b09caff5f.zip
blk-mq: Add locking annotations to hctx_lock() and hctx_unlock()
This patch avoids that sparse reports the following: block/blk-mq.c:637:33: warning: context imbalance in 'hctx_unlock' - unexpected unlock block/blk-mq.c:642:9: warning: context imbalance in 'hctx_lock' - wrong count at exit Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/null_blk.c')
0 files changed, 0 insertions, 0 deletions