Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5222e746 in mainline


Ignore:
Timestamp:
2011-09-05T18:45:02Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
e03d545
Parents:
75e0f15
Message:

Fix style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs_ops.c

    r75e0f15 r5222e746  
    205205                /*This is a V1 or V2 Minix filesystem*/
    206206                magic = sb->s_magic;
    207                 goto recognized;
    208         }
    209 
    210         if (!check_magic_number(sb3->s_magic, &native, &version, &longnames)) {
     207        } else if (check_magic_number(sb3->s_magic, &native, &version, &longnames)) {
     208                /*This is a V3 Minix filesystem*/
     209                magic = sb3->s_magic;
     210        } else {
     211                /*Not recognized*/
    211212                mfsdebug("magic number not recognized\n");
    212213                free(instance);
     
    216217                return ENOTSUP;
    217218        }
    218 
    219         /*This is a V3 Minix filesystem*/
    220 
    221         magic = sb3->s_magic;
    222 
    223 recognized:
    224219
    225220        mfsdebug("magic number recognized = %04x\n", magic);
Note: See TracChangeset for help on using the changeset viewer.