看板 Dfbsd_Bugs
作者
留言 0則留言,0人參與討論
推噓 0  ( 0推 0噓 0→ )
--=-XFSe2/vveuudY8DsSYA7 Content-Type: text/plain Content-Transfer-Encoding: 7bit * $DragonFly: src/sys/vfs/ufs/ffs_balloc.c,v 1.9 2004/08/24 14:01:57 drhodus Exp $ at or about line 104, missing a closing comment */ tag .. noticed it during kernel build ... * we are now extending the file write beyond * the block which has end of the file prior to this write osize = blksize(fs, ip, nb); Patch attached as it wrapped inline ...... Sven --=-XFSe2/vveuudY8DsSYA7 Content-Disposition: attachment; filename=ffs_balloc.patch Content-Type: text/x-patch; name=ffs_balloc.patch; charset=us-ascii Content-Transfer-Encoding: 7bit --- ffs_balloc.c.orig 2004-08-24 12:14:17.000000000 -0400 +++ ffs_balloc.c 2004-08-24 12:14:39.000000000 -0400 @@ -102,6 +102,7 @@ * blocks (ex. gragmentation is possibly done) * we are now extending the file write beyond * the block which has end of the file prior to this write. + */ osize = blksize(fs, ip, nb); /* * osize gives disk allocated size in the last block. It is --=-XFSe2/vveuudY8DsSYA7--