Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9bebff6ca5871e07b665cdaf71028ea21eb0bf0e
Commit:     9bebff6ca5871e07b665cdaf71028ea21eb0bf0e
Parent:     f6dfb4fd7dd94429ef1d5233688aaed2a63f856b
Author:     suzuki <[EMAIL PROTECTED]>
AuthorDate: Wed Mar 7 20:41:24 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Mar 8 07:38:22 2007 -0800

    [PATCH] check_partition(): fix error check
    
    Fix inverted check introduced in 57881dd9df40b76dc7fc6a0d13fd75f337accb32 
"Fix
    check_partition routines".
    
    Signed-off-by: Suzuki K P <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 fs/partitions/check.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/partitions/check.c b/fs/partitions/check.c
index 22d38ff..e46d237 100644
--- a/fs/partitions/check.c
+++ b/fs/partitions/check.c
@@ -180,7 +180,7 @@ check_partition(struct gendisk *hd, struct block_device 
*bdev)
        }
        if (res > 0)
                return state;
-       if (!err)
+       if (err)
        /* The partition is unrecognized. So report I/O errors if there were 
any */
                res = err;
        if (!res)
-
To unsubscribe from this list: send the line "unsubscribe git-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