]> 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)
commit76574f8b8ea60697f4cd92a32696a66ebd66c754
treead0d16a069090d085913618d74c928ef828417bc
parent5dcd8a1d1537b9ca9f0fd9a1f2151f344400aa29
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