summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaurav <gaurav@gluster.com>2011-09-07 12:15:16 +0530
committerVijay Bellur <vijay@gluster.com>2011-09-07 01:34:56 -0700
commitc502dcbd144247bf7185b5b4e481a7a3a72b38ed (patch)
treeb0c69c9e4edb0b04f690ff1f5640e6eae26f8968
parent6e851445ce33aa7ac41a8464804466045082b10f (diff)
NFS : Pass valid argument in mnt3svc_dump.
Change-Id: I8b63c4159bead32a3659240e70347984f7376b33 Reviewed-on: http://review.gluster.com/363 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
-rw-r--r--xlators/nfs/server/src/mount3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/nfs/server/src/mount3.c b/xlators/nfs/server/src/mount3.c
index 31d45cc..05745a5 100644
--- a/xlators/nfs/server/src/mount3.c
+++ b/xlators/nfs/server/src/mount3.c
@@ -1036,7 +1036,7 @@ mnt3svc_dump (rpcsvc_request_t *req)
sfunc = (mnt3_serializer)xdr_serialize_mountlist;
mlist = mnt3svc_build_mountlist (ms, &ret);
- arg = mlist;
+ arg = &mlist;
if (!mlist) {
if (ret != 0) {