diff options
author | trasz <trasz@FreeBSD.org> | 2012-04-23 13:21:28 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2012-04-23 13:21:28 +0000 |
commit | baac623cd9f021cfdf826109aecab017d5cae570 (patch) | |
tree | 73236257e630df705375e3aea0f8003fa2a9eb67 /sys/fs/ext2fs | |
parent | 2e83ed7d1307db3a45a6e36835ccaf391564892f (diff) | |
download | FreeBSD-src-baac623cd9f021cfdf826109aecab017d5cae570.zip FreeBSD-src-baac623cd9f021cfdf826109aecab017d5cae570.tar.gz |
Remove unused thread argument from vtruncbuf().
Reviewed by: kib
Diffstat (limited to 'sys/fs/ext2fs')
-rw-r--r-- | sys/fs/ext2fs/ext2_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/ext2fs/ext2_inode.c b/sys/fs/ext2fs/ext2_inode.c index 8d477b2..93e59dd 100644 --- a/sys/fs/ext2fs/ext2_inode.c +++ b/sys/fs/ext2fs/ext2_inode.c @@ -249,7 +249,7 @@ ext2_truncate(vp, length, flags, cred, td) bcopy((caddr_t)&oip->i_db[0], (caddr_t)newblks, sizeof(newblks)); bcopy((caddr_t)oldblks, (caddr_t)&oip->i_db[0], sizeof(oldblks)); oip->i_size = osize; - error = vtruncbuf(ovp, cred, td, length, (int)fs->e2fs_bsize); + error = vtruncbuf(ovp, cred, length, (int)fs->e2fs_bsize); if (error && (allerror == 0)) allerror = error; vnode_pager_setsize(ovp, length); |