cvs commit: src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c tmpfs_vnops.c

Xin LI delphij at FreeBSD.org
Sun Jul 8 15:56:13 UTC 2007


delphij     2007-07-08 15:56:12 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/tmpfs         tmpfs.h tmpfs_subr.c tmpfs_vfsops.c 
                         tmpfs_vnops.c 
  Log:
  MFp4:
   - Plug memory leak.
   - Respect underlying vnode's properties rather than assuming that
     the user want root:wheel + 0755.  Useful for using tmpfs(5) for
     /tmp.
   - Use roundup2 and howmany macros instead of rolling our own version.
   - Try to fix fsx -W -R foo case.
   - Instead of blindly zeroing a page, determine whether we need a pagein
     order to prevent data corruption.
   - Fix several bugs reported by Coverity.
  
  Submitted by:   Mingyan Guo <guomingyan gmail com>, Howard Su, delphij
  Coverity ID:    CID 2550, 2551, 2552, 2557
  Approved by:    re (tmpfs blanket)
  
  Revision  Changes    Path
  1.7       +3 -25     src/sys/fs/tmpfs/tmpfs.h
  1.8       +23 -17    src/sys/fs/tmpfs/tmpfs_subr.c
  1.5       +43 -22    src/sys/fs/tmpfs/tmpfs_vfsops.c
  1.7       +18 -7     src/sys/fs/tmpfs/tmpfs_vnops.c


More information about the cvs-src mailing list