]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb79a6baad01c35242159a85b5d001d8e3b3c668
treeb0d325533280f47253871044e875c0f71a369896
parent77646dfcd7ed2cb9e44cc6557eb5abf38888c56b
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