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>
Wed, 8 Jul 2015 23:24:27 +0000 (17:24 -0600)
commit697ed5f451fd39d909e85a3a69402adf9732f0aa
tree19828a8169a4e43aab88e7dcc11a78c294014010
parentd6ac4ffc61ace6ed6f183e9fd7f207c0ddafb897
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