bcache: add a comment in super.c
This patch adds a line of code comment in super.c:register_bdev(), to make code to be more comprehensible. Signed-off-by: Coly Li <colyli@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
c2e8dcf7fa
commit
e57fd74684
|
@ -1291,6 +1291,7 @@ static void register_bdev(struct cache_sb *sb, struct page *sb_page,
|
|||
pr_info("registered backing device %s", dc->backing_dev_name);
|
||||
|
||||
list_add(&dc->list, &uncached_devices);
|
||||
/* attach to a matched cache set if it exists */
|
||||
list_for_each_entry(c, &bch_cache_sets, list)
|
||||
bch_cached_dev_attach(dc, c, NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue