bcache: don't embed 'return' statements in closure macros
authorJens Axboe <axboe@fb.com>
Fri, 6 Mar 2015 15:37:46 +0000 (08:37 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 6 Mar 2015 15:37:46 +0000 (08:37 -0700)
commit297d102c94e265085d4f8a8f12c6d8cbc8e126af
treee9a85fad5de94ab74d4c215ca67bf857f76f04b0
parenta6c5170d1edea97c538c81e377e56c7b5c5b7e63
bcache: don't embed 'return' statements in closure macros

This is horribly confusing, it breaks the flow of the code without
it being apparent in the caller.

Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/md/bcache/closure.h
drivers/md/bcache/io.c
drivers/md/bcache/journal.c
drivers/md/bcache/request.c