]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bcache: update comment in sysfs.c
authorShenghui Wang <shhuiw@foxmail.com>
Thu, 13 Dec 2018 14:53:49 +0000 (22:53 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Dec 2018 15:15:54 +0000 (08:15 -0700)
commit4e361e020e7220fa8fc812acdca4d08814633f49
tree137338ca4b190850139f51e52b3f5205bcee11d2
parent3db4d0783eaf2a2537f6b83679ad57cba0ad0481
bcache: update comment in sysfs.c

We have struct cached_dev allocated by kzalloc in register_bcache(),
which initializes all the fields of cached_dev with 0s. And commit
ce4c3e19e520 ("bcache: Replace bch_read_string_list() by
__sysfs_match_string()") has remove the string "default".

Update the comment.

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