Patchwork [BUG:1643] nfs: Fix multiple subvolume CHILD-UP support

login
register
Submitter Shehjar Tikoo
Date 2010-09-25 10:12:30
Message ID <1285409550-19848-1-git-send-email-shehjart@gluster.com>
Download mbox | patch
Permalink /patch/4982/
State Accepted
Headers show

Comments

Shehjar Tikoo - 2010-09-25 10:12:30
From: Shehjar Tikoo <shehjart@gluster.com>


Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
---
 xlators/nfs/server/src/nfs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c
index 3fa4666..748e0dc 100644
--- a/xlators/nfs/server/src/nfs.c
+++ b/xlators/nfs/server/src/nfs.c
@@ -556,6 +556,7 @@  nfs_init_subvolumes (struct nfs_state *nfs, xlator_list_t *cl)
                 sv = &nfs->subvols[x];
                 sv->subvol = cl->xlator;
                 sv->status = GF_NFS_SUBVOLUME_NOTSTARTED;
+                cl = cl->next;
         }
 
         gf_log (GF_NFS, GF_LOG_TRACE, "inited volumes: %d", svcount);