]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/nfs/cacheio.c
/proc/fs/nfsd as an alternate to /proc/fs/nfsd
[nfs-utils.git] / support / nfs / cacheio.c
index ff5b02813e256c12b017da5356d80ecb17b9c43c..20d195c16ca4b792fbb7b7866688e7993ab87db8 100644 (file)
@@ -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);
 }