]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: add the missing comments for smp_mb()/smp_wmb()
authorColy Li <colyli@suse.de>
Sat, 11 Aug 2018 05:20:00 +0000 (13:20 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 11 Aug 2018 21:46:42 +0000 (15:46 -0600)
commit263058642bffad588c2f6c5b05d1c472a9329b27
treead0d16a069090d085913618d74c928ef828417bc
parent681fab93e7e3e9d95c848b01364343644b5a3f79
bcache: add the missing comments for smp_mb()/smp_wmb()

Checkpatch.pl warns there are 2 locations of smp_mb() and smp_wmb()
without code comment. This patch adds the missing code comments for
these memory barrier calls.

Signed-off-by: Coly Li <colyli@suse.de>
Reviewed-by: Shenghui Wang <shhuiw@foxmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/closure.h
drivers/md/bcache/super.c