]> git.hungrycats.org Git - linux/commit
[PATCH] md: Remove some un-needed fields from r1bio_s
authorAndrew Morton <akpm@osdl.org>
Wed, 18 Feb 2004 12:51:31 +0000 (04:51 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 18 Feb 2004 12:51:31 +0000 (04:51 -0800)
commitd0d464b1c7a85af0de259ee523ac438ea3dbe2a9
tree5731ea35f66496112c9e2a818cbf612e66333a34
parentebf7768ec706d92dbf3e284116f22720e0f70da9
[PATCH] md: Remove some un-needed fields from r1bio_s

From: NeilBrown <neilb@cse.unsw.edu.au>

next_r1 is never used, so it can just go.

read_bio isn't needed as we can easily use one of the pointers in the
write_bios array - write_bios[->read_disk].  So rename "write_bios" to "bios"
and store the pointer to the read bio in there.
drivers/md/raid1.c
include/linux/raid/raid1.h