Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-5] src/sys/ufs

Module Name:    src
Committed By:   snj
Date:           Mon Feb 22 04:43:47 UTC 2010

Modified Files:
        src/sys/ufs/ext2fs [netbsd-5]: ext2fs_inode.c
        src/sys/ufs/ffs [netbsd-5]: ffs_inode.c
        src/sys/ufs/lfs [netbsd-5]: lfs_inode.c
        src/sys/ufs/ufs [netbsd-5]: ufs_inode.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1302):
        sys/ufs/ext2fs/ext2fs_inode.c: revision 1.71
        sys/ufs/ffs/ffs_inode.c: revision 1.104
        sys/ufs/lfs/lfs_inode.c: revision 1.121
        sys/ufs/ufs/ufs_inode.c: revision 1.79
- ufs_balloc_range(): on error, only PG_RELEASED the pages that were
  allocated to extend the file to the new size. Releasing all pages
  may release pages that contains previously-written data not yet flushed
  to disk. Should fix PR kern/35704
- {ffs,lfs,ext2fs}_truncate(): Even if the inode's size is the same as
  the new length, call uvm_vnp_setsize(). *_truncate() may have been
  called by *_write() in the error path (e.g. block allocation failure
  because of quota of file system full), and at this point v_writesize
  has been set to the desired size of the file and not reverted to the
  old size. Not adjusting v_writesize to the real size cause
  genfs_do_io() to write to disk past the real end of the file.

To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.66.8.1 src/sys/ufs/ext2fs/ext2fs_inode.c
cvs rdiff -u -r1.99 -r1.99.4.1 src/sys/ufs/ffs/ffs_inode.c
cvs rdiff -u -r1.120 -r1.120.10.1 src/sys/ufs/lfs/lfs_inode.c
cvs rdiff -u -r1.76.4.1 -r1.76.4.2 src/sys/ufs/ufs/ufs_inode.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index