Changeset 5222e746 in mainline
- Timestamp:
- 2011-09-05T18:45:02Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e03d545
- Parents:
- 75e0f15
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_ops.c
r75e0f15 r5222e746 205 205 /*This is a V1 or V2 Minix filesystem*/ 206 206 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*/ 211 212 mfsdebug("magic number not recognized\n"); 212 213 free(instance); … … 216 217 return ENOTSUP; 217 218 } 218 219 /*This is a V3 Minix filesystem*/220 221 magic = sb3->s_magic;222 223 recognized:224 219 225 220 mfsdebug("magic number recognized = %04x\n", magic);
Note:
See TracChangeset
for help on using the changeset viewer.