summaryrefslogtreecommitdiffstats
path: root/xlators/nfs
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-09-25 04:42:30 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-25 04:05:11 -0700
commit336e2df7b74be7ad4c9ed403ca10b9f7f7ef9a58 (patch)
tree5263c12a0e2bf299b8e110b3f4562b08559a42b6 /xlators/nfs
parentcb1c1d78a3aededcc1d1f77f6e91e23fda83a631 (diff)
nfs: Fix multiple subvolume CHILD-UP supportv3.1.0qa33
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1643 (Initial requests after mount ESTALE if DHT subvolumes connect after nfs startup) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1643
Diffstat (limited to 'xlators/nfs')
-rw-r--r--xlators/nfs/server/src/nfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c
index 3fa46662f2a..748e0dc3321 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);