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

Xin LI delphij at FreeBSD.org
Fri Aug 10 04:00:32 PDT 2007


delphij     2007-08-10 11:00:31 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/tmpfs         tmpfs.h tmpfs_subr.c tmpfs_vnops.c 
  Log:
  MFp4:
   - LK_RETRY prohibits vget() and vn_lock() to return error.
     Remove associated code. [1]
   - Properly use vhold() and vdrop() instead of their unlocked
     versions, we are guaranteed to have the vnode's interlock
     unheld. [1]
   - Fix a pseudo-infinite loop caused by 64/32-bit arithmetic
     with the same way used in modern NetBSD versions. [2]
   - Reorganize tmpfs_readdir to reduce duplicated code.
  
  Submitted by:   kib [1]
  Obtained from:  NetBSD [2]
  Approved by:    re (tmpfs blanket)
  
  Revision  Changes    Path
  1.11      +67 -4     src/sys/fs/tmpfs/tmpfs.h
  1.12      +7 -15     src/sys/fs/tmpfs/tmpfs_subr.c
  1.10      +22 -41    src/sys/fs/tmpfs/tmpfs_vnops.c


More information about the cvs-src mailing list