OSDN Git Service

bcache: Reduce the number of sparse complaints about lock imbalances
authorBart Van Assche <bart.vanassche@wdc.com>
Mon, 19 Mar 2018 00:36:32 +0000 (17:36 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 19 Mar 2018 02:15:20 +0000 (20:15 -0600)
commit20d3a518713e394efa5a899c84574b4b79ec5098
tree0bc217f13a24fd741e6778c58446ec79ef169bac
parent42361469ae84c851e40cb1f94c8c9a14cdd94039
bcache: Reduce the number of sparse complaints about lock imbalances

Add more annotations for sparse to inform it about which functions do
not have the same number of spin_lock() and spin_unlock() calls.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Michael Lyle <mlyle@lyle.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/journal.c