]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mountd/cache.c
Stuff
[nfs-utils.git] / utils / mountd / cache.c
index 1d1567d2012f97bed71a1a5a1786a73bdb845934..c5bc53fa3023166a4d3f51d8ce99a3806c1ba72f 100644 (file)
@@ -335,7 +335,7 @@ void cache_export(nfs_export *exp)
  * } <> /proc/fs/nfs/filehandle
  */
 struct nfs_fh_len *
-cache_get_filehandle(nfs_export *exp, int len)
+cache_get_filehandle(nfs_export *exp, int len, char *p)
 {
        FILE *f = fopen("/proc/fs/nfs/filehandle", "r+");
        char buf[200];
@@ -345,7 +345,7 @@ cache_get_filehandle(nfs_export *exp, int len)
                return NULL;
 
        qword_print(f, exp->m_client->m_hostname);
-       qword_print(f, exp->m_export.e_path);
+       qword_print(f, p);
        qword_printint(f, len); 
        qword_eol(f);