From 1d0beff80599463ee944bd42a518494e04ee292d Mon Sep 17 00:00:00 2001 From: William Baker Date: Mon, 17 Sep 2018 08:40:03 -0700 Subject: [PATCH] Add comment --- ProjFS.Mac/PrjFSKext/PrjFSKext/KauthHandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ProjFS.Mac/PrjFSKext/PrjFSKext/KauthHandler.cpp b/ProjFS.Mac/PrjFSKext/PrjFSKext/KauthHandler.cpp index 3fbf03713d..6868047a9d 100644 --- a/ProjFS.Mac/PrjFSKext/PrjFSKext/KauthHandler.cpp +++ b/ProjFS.Mac/PrjFSKext/PrjFSKext/KauthHandler.cpp @@ -267,6 +267,8 @@ static int HandleVnodeOperation( char procname[MAXCOMLEN + 1]; // TODO(Mac): Issue #271 - Reduce reliance on vn_getpath + // Call vn_getpath first when the cache is hottest to increase the chances + // of successfully getting the path if (0 == vn_getpath(currentVnode, vnodePathBuffer, &vnodePathLength)) { vnodePath = vnodePathBuffer;