Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2004 21:53:02 -0800 (PST)
From:      "Tim J. Robbins" <tjr@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/smbfs smbfs_node.c smbfs_node.h smbfs_vnops.c
Message-ID:  <200402100553.i1A5r2hi033791@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
tjr         2004/02/09 21:53:02 PST

  FreeBSD src repository

  Modified files:
    sys/fs/smbfs         smbfs_node.c smbfs_node.h smbfs_vnops.c 
  Log:
  Fixes problems that occurred when a file was removed and a directory
  created with the same name, and vice versa:
  - Immediately recycle vnodes of files & directories that have been deleted
  or renamed.
  - When looking an entry in the VFS name cache or smbfs's private
  cache, make sure the vnode type is consistent with the type of file
  the server thinks it is, and re-create the vnode if it isn't.
  
  The alternative to this is to recycle vnodes unconditionally when their
  use count drops to 0, but this would make all the caching we do
  mostly useless.
  
  PR:             62342
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.19      +17 -0     src/sys/fs/smbfs/smbfs_node.c
  1.6       +1 -0      src/sys/fs/smbfs/smbfs_node.h
  1.45      +24 -1     src/sys/fs/smbfs/smbfs_vnops.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402100553.i1A5r2hi033791>