version 1.21, 2005/11/02 12:38:58 |
version 1.22, 2005/11/04 21:04:20 |
|
|
if (FAT32(pmp)) { |
if (FAT32(pmp)) { |
putushort(dotdotp->deHighClust, |
putushort(dotdotp->deHighClust, |
dp->de_StartCluster >> 16); |
dp->de_StartCluster >> 16); |
|
} else { |
|
putushort(dotdotp->deHighClust, 0); |
} |
} |
if ((error = bwrite(bp)) != 0) { |
if ((error = bwrite(bp)) != 0) { |
/* XXX should really panic here, fs is corrupt */ |
/* XXX should really panic here, fs is corrupt */ |
Line 1255 msdosfs_mkdir(v) |
|
Line 1257 msdosfs_mkdir(v) |
|
if (FAT32(pmp)) { |
if (FAT32(pmp)) { |
putushort(denp[0].deHighClust, newcluster >> 16); |
putushort(denp[0].deHighClust, newcluster >> 16); |
putushort(denp[1].deHighClust, pdep->de_StartCluster >> 16); |
putushort(denp[1].deHighClust, pdep->de_StartCluster >> 16); |
|
} else { |
|
putushort(denp[0].deHighClust, 0); |
|
putushort(denp[1].deHighClust, 0); |
} |
} |
|
|
if (async) |
if (async) |