]> git.hungrycats.org Git - linux/commit
[PATCH] md: Discard the mddev_map array.
authorAndrew Morton <akpm@osdl.org>
Tue, 20 Jan 2004 11:13:01 +0000 (03:13 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 20 Jan 2004 11:13:01 +0000 (03:13 -0800)
commitd45e66f897ebf5a1b7bf80181c225596c7cbb3da
tree93a58bff4a3616593a21706f0d671e0e261c0a49
parentb2a0c9757392187e3b72e42e64b0ec0069dcf6e3
[PATCH] md: Discard the mddev_map array.

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

We only need it occasionally to map unit number to mddev, and we can use a
linear search for that.  This reduces dependance on MAX_MD_DEVS
drivers/md/md.c