Patchwork [BUG:2692] NFS : Pass valid argument in mnt3svc_dump.

login
register
Submitter Gaurav
Date 2011-06-20 14:02:59
Message ID <1308578579-31635-1-git-send-email-gaurav@gluster.com>
Download mbox | patch
Permalink /patch/7565/
State Accepted
Delegated to: Shehjar Tikoo
Headers show

Comments

Gaurav - 2011-06-20 14:02:59
From: Gaurav <gaurav@gluster.com>


Signed-off-by: Gaurav <gaurav@gluster.com>
---
 xlators/nfs/server/src/mount3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/xlators/nfs/server/src/mount3.c b/xlators/nfs/server/src/mount3.c
index c358651..643c5eb 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) {