From b76b6150d562eabadae50e4eb9efccd59ac13df9 Mon Sep 17 00:00:00 2001 From: Peter Holm Date: Mon, 31 Oct 2011 20:24:33 +0000 Subject: [PATCH] Fix the wrong commit log message for r226967: "Added missing cache purge of from argument" and fix the comment. --- sys/ufs/ufs/ufs_vnops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index 105bdafad4b..171ef753c3d 100644 --- a/sys/ufs/ufs/ufs_vnops.c +++ b/sys/ufs/ufs/ufs_vnops.c @@ -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,