The thread/proc pointer argument in the VFS subsystem originally existed
[dragonfly.git] / sys / vfs / gnu / ext2fs / ext2_readwrite.c
index 54cf2d5..d12f0d9 100644 (file)
@@ -38,7 +38,7 @@
  *
  *     @(#)ufs_readwrite.c     8.7 (Berkeley) 1/21/94
  * $FreeBSD: src/sys/gnu/ext2fs/ext2_readwrite.c,v 1.18.2.2 2000/12/22 18:44:33 dillon Exp $
- * $DragonFly: src/sys/vfs/gnu/ext2fs/ext2_readwrite.c,v 1.10 2006/04/04 17:34:32 dillon Exp $
+ * $DragonFly: src/sys/vfs/gnu/ext2fs/ext2_readwrite.c,v 1.11 2006/05/06 02:43:13 dillon Exp $
  */
 
 #define        BLKSIZE(a, b, c)        blksize(a, b, c)
@@ -292,8 +292,7 @@ ext2_write(struct vop_write_args *ap)
                ip->i_mode &= ~(ISUID | ISGID);
        if (error) {
                if (ioflag & IO_UNIT) {
-                       EXT2_TRUNCATE(vp, osize,
-                           ioflag & IO_SYNC, ap->a_cred, uio->uio_td);
+                       EXT2_TRUNCATE(vp, osize, ioflag & IO_SYNC, ap->a_cred);
                        uio->uio_offset -= resid - uio->uio_resid;
                        uio->uio_resid = resid;
                }