diff options
| author | Gaurav <gaurav@gluster.com> | 2011-06-20 08:32:59 +0000 | 
|---|---|---|
| committer | Anand Avati <avati@gluster.com> | 2011-06-22 08:40:30 -0700 | 
| commit | 71a13f09978dc3858b9dd2771f605582e0c2e0dd (patch) | |
| tree | 38fa9fefd7962fec5106bec55d97d73eaca5e044 /xlators/nfs/server/src/mount3.c | |
| parent | 8c24158f2bda14e9debcc2f4ccde53aa9629c2b7 (diff) | |
NFS : Pass valid argument in mnt3svc_dump.
Signed-off-by: Gaurav <gaurav@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2692 (NFS server crashes on showmount -a)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2692
Diffstat (limited to 'xlators/nfs/server/src/mount3.c')
| -rw-r--r-- | xlators/nfs/server/src/mount3.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/nfs/server/src/mount3.c b/xlators/nfs/server/src/mount3.c index c358651ff68..643c5ebfaf5 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) {  | 
