diff options
author | Coly Li <colyli@suse.de> | 2018-10-08 20:41:11 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-10-08 08:19:43 -0600 |
commit | 4516da427fcf214af7d826273ab275f1d6e56ef0 (patch) | |
tree | e8d5cbd49fc60763327fd5d4bc71d63e0d5bd308 /drivers/md/bcache | |
parent | dd0c91793b7c2658ea32c6b3a2247a8ceca45dc0 (diff) | |
download | linux-stable-4516da427fcf214af7d826273ab275f1d6e56ef0.tar.gz linux-stable-4516da427fcf214af7d826273ab275f1d6e56ef0.tar.bz2 linux-stable-4516da427fcf214af7d826273ab275f1d6e56ef0.zip |
bcache: fix typo in code comments of closure_return_with_destructor()
The code comments of closure_return_with_destructor() in closure.h makrs
function name as closure_return(). This patch fixes this type with the
correct name - closure_return_with_destructor.
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/bcache')
-rw-r--r-- | drivers/md/bcache/closure.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/bcache/closure.h b/drivers/md/bcache/closure.h index eca0d496b686..c88cdc4ae4ec 100644 --- a/drivers/md/bcache/closure.h +++ b/drivers/md/bcache/closure.h @@ -345,7 +345,8 @@ do { \ } while (0) /** - * closure_return - finish execution of a closure, with destructor + * closure_return_with_destructor - finish execution of a closure, + * with destructor * * Works like closure_return(), except @destructor will be called when all * outstanding refs on @cl have been dropped; @destructor may be used to safely |