diff options
Diffstat (limited to 'meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/014-uninitialized.patch')
| -rw-r--r-- | meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/014-uninitialized.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/014-uninitialized.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/014-uninitialized.patch new file mode 100644 index 0000000000..233c08a2f3 --- /dev/null +++ b/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/014-uninitialized.patch | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | # Patch origin: nfs-server source RPM from openSUSE 10.3 | ||
| 2 | |||
| 3 | --- nfs-server/mountd.c | ||
| 4 | +++ nfs-server/mountd.c | ||
| 5 | @@ -278,6 +278,7 @@ | ||
| 6 | || (mp = auth_path(cp, rqstp, dir)) == NULL | ||
| 7 | || mp->o.noaccess) { | ||
| 8 | #ifdef WANT_LOG_MOUNTS | ||
| 9 | + addr = svc_getcaller(rqstp->rq_xprt)->sin_addr; | ||
| 10 | Dprintf(L_WARNING, "Blocked attempt of %s to pathconf(%s)\n", | ||
| 11 | inet_ntoa(addr), dir); | ||
| 12 | #endif /* WANT_LOG_MOUNTS */ | ||
