Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/msdosfs/msdosfs_vnops.c
Show First 20 Lines • Show All 790 Lines • ▼ Show 20 Lines | do { | ||||
* expect more writes into this buffer soon. | * expect more writes into this buffer soon. | ||||
*/ | */ | ||||
if (ioflag & IO_SYNC) | if (ioflag & IO_SYNC) | ||||
(void)bwrite(bp); | (void)bwrite(bp); | ||||
else if (vm_page_count_severe() || buf_dirty_count_severe()) | else if (vm_page_count_severe() || buf_dirty_count_severe()) | ||||
bawrite(bp); | bawrite(bp); | ||||
else if (n + croffset == pmp->pm_bpcluster) { | else if (n + croffset == pmp->pm_bpcluster) { | ||||
if ((vp->v_mount->mnt_flag & MNT_NOCLUSTERW) == 0) | if ((vp->v_mount->mnt_flag & MNT_NOCLUSTERW) == 0) | ||||
cluster_write(vp, bp, dep->de_FileSize, | cluster_write(vp, &dep->de_clusterw, bp, | ||||
seqcount, 0); | dep->de_FileSize, seqcount, 0); | ||||
else | else | ||||
bawrite(bp); | bawrite(bp); | ||||
} else | } else | ||||
bdwrite(bp); | bdwrite(bp); | ||||
dep->de_flag |= DE_UPDATE; | dep->de_flag |= DE_UPDATE; | ||||
} while (error == 0 && uio->uio_resid > 0); | } while (error == 0 && uio->uio_resid > 0); | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 1,166 Lines • Show Last 20 Lines |