diff options
author | Coly Li <colyli@suse.de> | 2019-04-24 19:48:38 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-24 19:56:28 +0300 |
commit | bb6d355c2aff42d4075a8e7428dd72cb009d6143 (patch) | |
tree | 48f743bf4650553de493cb3bfb41edc89441574b /scripts/gdb/linux/utils.py | |
parent | 88c12d42d2bb6e05deb3cfd24d12f6fe80544575 (diff) | |
download | linux-bb6d355c2aff42d4075a8e7428dd72cb009d6143.tar.xz |
bcache: Add comments for blkdev_put() in registration code path
Add comments to explain why in register_bcache() blkdev_put() won't
be called in two location. Add comments to explain why blkdev_put()
must be called in register_cache() when cache_alloc() failed.
Signed-off-by: Coly Li <colyli@suse.de>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions