X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fnfs%2Fcacheio.c;fp=support%2Fnfs%2Fcacheio.c;h=20d195c16ca4b792fbb7b7866688e7993ab87db8;hp=ff5b02813e256c12b017da5356d80ecb17b9c43c;hb=e09fbc8933961a0a774217ef32d73da373ddc670;hpb=18fc7a86a2a1213762cc4107565903127efadafc 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); }