Author: pho
Date: Mon Oct 31 20:24:33 2011
New Revision: 226971
URL: http://svn.freebsd.org/changeset/base/226971

Log:
  Fix the wrong commit log message for r226967: "Added missing cache purge
  of from argument" and fix the comment.

Modified:
  head/sys/ufs/ufs/ufs_vnops.c

Modified: head/sys/ufs/ufs/ufs_vnops.c
==============================================================================
--- head/sys/ufs/ufs/ufs_vnops.c        Mon Oct 31 20:03:09 2011        
(r226970)
+++ head/sys/ufs/ufs/ufs_vnops.c        Mon Oct 31 20:24:33 2011        
(r226971)
@@ -1520,6 +1520,8 @@ relock:
        }
        error = ufs_dirremove(fdvp, fip, fcnp->cn_flags, 0);
        /*
+        * The kern_renameat() looks up the fvp using the DELETE flag, which
+        * causes the removal of the name cache entry for fvp.
         * As the relookup of the fvp is done in two steps:
         * ufs_lookup_ino() and then VFS_VGET(), another thread might do a
         * normal lookup of the from name just before the VFS_VGET() call,
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to