]> git.karo-electronics.de Git - linux-beck.git/commit
raid1: Refactor narrow_write_error() to not use bi_idx
authorKent Overstreet <koverstreet@google.com>
Mon, 10 Sep 2012 22:17:11 +0000 (15:17 -0700)
committerKent Overstreet <koverstreet@google.com>
Sat, 23 Mar 2013 21:15:36 +0000 (14:15 -0700)
commitb783863f68c26c5411c50002f98a047a40b94e8e
treec5543888aaf568704188da8c955d435a6fd1d2d7
parent2f6db2a7073452b123726e2baab1f37d511bf86d
raid1: Refactor narrow_write_error() to not use bi_idx

More bi_idx removal. This code was just open coding bio_clone(). This
could probably be further improved by using bio_advance() instead of
skipping over null pages, but that'd be a larger rework.

Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Jens Axboe <axboe@kernel.dk>
CC: NeilBrown <neilb@suse.de>
drivers/md/raid1.c