diff options
author | Christoph Hellwig <hch@lst.de> | 2019-04-25 09:02:59 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-30 17:26:11 +0200 |
commit | f936b06ae53815a7633b30ffd8cf5661ac826b3a (patch) | |
tree | 9ea6978f7b16e0f4a8925f4ecb57215b838281ee /block/bounce.c | |
parent | bcache: remove redundant LIST_HEAD(journal) from run_cache_set() (diff) | |
download | linux-f936b06ae53815a7633b30ffd8cf5661ac826b3a.tar.xz linux-f936b06ae53815a7633b30ffd8cf5661ac826b3a.zip |
bcache: clean up do_btree_node_write a bit
Use a variable containing the buffer address instead of the to be
removed integer iterator from bio_for_each_segment_all.
Suggested-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Acked-by: Coly Li <colyli@suse.de>
Reviewed-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions