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)
commiteb2b3d034511f7f5f5fa781b9354ea4d5dbd4fc5
treead0d16a069090d085913618d74c928ef828417bc
parentd0c1b89a409fb8f55783e95effeb60d703f81061
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