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