Neil Brown: Don't record oldmajor/oldminor any more during assemble.
Martin F. Krafft
madduck at alioth.debian.org
Wed Jun 25 15:42:23 UTC 2008
Module: mdadm
Branch: build
Commit: 61255666e2d3b7ae7aa502caa637af96c4604f93
URL: http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=61255666e2d3b7ae7aa502caa637af96c4604f93
Author: Neil Brown <neilb at suse.de>
Date: Fri Dec 14 20:14:44 2007 +1100
Don't record oldmajor/oldminor any more during assemble.
We don't use the information at all (any longer).
---
Assemble.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/Assemble.c b/Assemble.c
index f78ca06..ebbe18c 100644
--- a/Assemble.c
+++ b/Assemble.c
@@ -118,7 +118,6 @@ int Assemble(struct supertype *st, char *mddev, int mdfd,
struct {
char *devname;
unsigned int major, minor;
- unsigned int oldmajor, oldminor;
long long events;
int uptodate;
int state;
@@ -503,8 +502,6 @@ int Assemble(struct supertype *st, char *mddev, int mdfd,
devices[devcnt].devname = devname;
devices[devcnt].major = major(stb.st_rdev);
devices[devcnt].minor = minor(stb.st_rdev);
- devices[devcnt].oldmajor = info.disk.major;
- devices[devcnt].oldminor = info.disk.minor;
devices[devcnt].events = info.events;
devices[devcnt].raid_disk = info.disk.raid_disk;
devices[devcnt].disk_nr = info.disk.number;
More information about the pkg-mdadm-commits
mailing list