]> git.pld-linux.org Git - packages/nfs-utils.git/commitdiff
outdated
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 4 Mar 2009 23:24:33 +0000 (23:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nfs-utils-mountd.patch -> 1.2

nfs-utils-mountd.patch [deleted file]

diff --git a/nfs-utils-mountd.patch b/nfs-utils-mountd.patch
deleted file mode 100644 (file)
index 0e6d896..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Make sure check_new_cache() is looking in the right place
-#
---- src/support/nfs/cacheio.c.org      2003-08-04 00:12:16.000000000 -0400
-+++ src/support/nfs/cacheio.c  2004-03-22 18:12:55.163534208 -0500
-@@ -223,12 +223,23 @@ int readline(int fd, char **buf, int *le
-  * This succeeds iff the "nfsd" filesystem is mounted on
-  * /proc/fs/nfs
-  */
-+static char *cachelist[] = {
-+      { "auth.unix.ip" }, { "nfsd.export" }, { "nfsd.fh" }, 
-+      { NULL, NULL }
-+};
- int
- check_new_cache(void)
- {
-       struct stat stb;
--      return  (stat("/proc/fs/nfs/filehandle", &stb) == 0) ||
--              (stat("/proc/fs/nfsd/filehandle", &stb) == 0);
-+      char path[64];
-+      int i;
-+
-+      for (i=0; cachelist[i]; i++ ){
-+              sprintf(path, "/proc/net/rpc/%s/channel", cachelist[i]);
-+              if (stat(path, &stb) < 0)
-+                      return 0;
-+      }
-+      return 1;
- }     
-
-
This page took 0.104437 seconds and 4 git commands to generate.