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>
Sat, 11 Jul 2015 15:57:32 +0000 (09:57 -0600)
commit77b5a08427e87514c33730afc18cd02c9475e2c3
treeb0d325533280f47253871044e875c0f71a369896
parent06b285bd11257bccc5a1b85a835507e33656aff2
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>
Acked-by: Christoph Hellwig <hch@lst.de>
drivers/md/bcache/closure.h
drivers/md/bcache/io.c
drivers/md/bcache/journal.c
drivers/md/bcache/request.c