summaryrefslogtreecommitdiffstats
path: root/support/nfs/cacheio.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/nfs/cacheio.c')
-rw-r--r--support/nfs/cacheio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/support/nfs/cacheio.c b/support/nfs/cacheio.c
index ff5b028..20d195c 100644
--- a/support/nfs/cacheio.c
+++ b/support/nfs/cacheio.c
@@ -227,7 +227,8 @@ int
check_new_cache(void)
{
struct stat stb;
- return (stat("/proc/fs/nfs/filehandle", &stb) == 0);
+ return (stat("/proc/fs/nfs/filehandle", &stb) == 0) ||
+ (stat("/proc/fs/nfsd/filehandle", &stb) == 0);
}