PERFORCE change 167676 for review
Aditya Sarawgi
truncs at FreeBSD.org
Sun Aug 23 14:26:36 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=167676
Change 167676 by truncs at aditya on 2009/08/23 14:26:27
Change the position of vnode_pager_setsize.
Affected files ...
.. //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_inode.c#8 edit
Differences ...
==== //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_inode.c#8 (text+ko) ====
@@ -165,12 +165,12 @@
aflags = B_CLRBUF;
if (flags & IO_SYNC)
aflags |= B_SYNC;
- vnode_pager_setsize(ovp, length);
error = ext2_balloc(oip, lbn, offset + 1, cred, &bp,
aflags);
if(error)
return (error);
oip->i_size = length;
+ vnode_pager_setsize(ovp, length);
if (aflags & B_SYNC)
bwrite(bp);
else
More information about the p4-projects
mailing list