Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b1519d047ca55406e0fc3dd2b8de266f971ea210
Commit:     b1519d047ca55406e0fc3dd2b8de266f971ea210
Parent:     1ccc9147f6a063c42fef67acff34de18435a4a6b
Author:     Al Viro <[EMAIL PROTECTED]>
AuthorDate: Sun Oct 14 19:34:50 2007 +0100
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Sun Oct 14 12:41:51 2007 -0700

    fs/partitions/sun.c endianness annotations
    
    Signed-off-by: Al Viro <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 fs/partitions/sun.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/partitions/sun.c b/fs/partitions/sun.c
index 794118d..c95e6a6 100644
--- a/fs/partitions/sun.c
+++ b/fs/partitions/sun.c
@@ -95,8 +95,8 @@ int sun_partition(struct parsed_partitions *state, struct 
block_device *bdev)
         * So that old Linux-Sun partitions continue to work,
         * alow the VTOC to be used under the additional condition ...
         */
-       use_vtoc = use_vtoc || !(label->vtoc.sanity |
-                                label->vtoc.version | label->vtoc.nparts);
+       use_vtoc = use_vtoc || !(label->vtoc.sanity ||
+                                label->vtoc.version || label->vtoc.nparts);
        spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect);
        for (i = 0; i < nparts; i++, p++) {
                unsigned long st_sector;
-
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