ChangeSet 1.2065.3.53, 2005/03/12 08:35:06-08:00, [EMAIL PROTECTED]

        [PATCH] md: fix multipath assembly bug
        
        In md, there are "level" number and "personality" numbers.  
LEVEL_MULTIPATH
        is the level number for multipath.  MULTIPATH is the personality number 
for
        multipath.
        
        In one place, we compare the level with a personality ...  bad
        
        This makes it impossible to assemble multipath arrays.
        
        Signed-off-by: Neil Brown <[EMAIL PROTECTED]>
        Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
        Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>



 md.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/md/md.c b/drivers/md/md.c
--- a/drivers/md/md.c   2005-03-12 21:36:01 -08:00
+++ b/drivers/md/md.c   2005-03-12 21:36:01 -08:00
@@ -527,7 +527,7 @@
        rdev->preferred_minor = sb->md_minor;
        rdev->data_offset = 0;
 
-       if (sb->level == MULTIPATH)
+       if (sb->level == LEVEL_MULTIPATH)
                rdev->desc_nr = -1;
        else
                rdev->desc_nr = sb->this_disk.number;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to