PERFORCE change 167627 for review
Aditya Sarawgi
truncs at FreeBSD.org
Sat Aug 22 22:33:59 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=167627
Change 167627 by truncs at aditya on 2009/08/22 22:33:08
Additional fixes.
Affected files ...
.. //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_inode.c#7 edit
Differences ...
==== //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_inode.c#7 (text+ko) ====
@@ -201,11 +201,12 @@
size = blksize(fs, oip, lbn);
bzero((char *)bp->b_data + offset, (u_int)(size - offset));
allocbuf(bp, size);
- if (aflags & IO_SYNC)
+ if (aflags & B_SYNC)
bwrite(bp);
else
bawrite(bp);
}
+ vnode_pager_setsize(ovp, length);
/*
* Calculate index into inode's block list of
* last direct and indirect blocks (if any)
More information about the p4-projects
mailing list