diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-10-16 10:50:27 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-10-16 10:50:27 +0000 |
| commit | cec0f20ce75cb0da74afcd4d65a9795fd0864604 (patch) | |
| tree | 13f8a41dd65c484c7fec96e128a73b0a5ca05c14 /sys/gnu/ext2fs/ext2_readwrite.c | |
| parent | 9fb4ca060c29aa20b3184ef2e29ea0137e2ffdac (diff) | |
Notes
Diffstat (limited to 'sys/gnu/ext2fs/ext2_readwrite.c')
| -rw-r--r-- | sys/gnu/ext2fs/ext2_readwrite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/ext2fs/ext2_readwrite.c b/sys/gnu/ext2fs/ext2_readwrite.c index 986bc14e74b9..e1ab5063f53e 100644 --- a/sys/gnu/ext2fs/ext2_readwrite.c +++ b/sys/gnu/ext2fs/ext2_readwrite.c @@ -307,7 +307,7 @@ WRITE(ap) ip->i_mode &= ~(ISUID | ISGID); if (error) { if (ioflag & IO_UNIT) { - (void)VOP_TRUNCATE(vp, osize, + (void)UFS_TRUNCATE(vp, osize, ioflag & IO_SYNC, ap->a_cred, uio->uio_procp); uio->uio_offset -= resid - uio->uio_resid; uio->uio_resid = resid; |
