Commit 4516da42 authored by Coly Li's avatar Coly Li Committed by Jens Axboe

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: default avatarColy Li <colyli@suse.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent dd0c9179
...@@ -345,7 +345,8 @@ do { \ ...@@ -345,7 +345,8 @@ do { \
} while (0) } 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 * Works like closure_return(), except @destructor will be called when all
* outstanding refs on @cl have been dropped; @destructor may be used to safely * outstanding refs on @cl have been dropped; @destructor may be used to safely
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment