From 27deebbf6c67f5076cae241e98043aa8b8b57ff8 Mon Sep 17 00:00:00 2001 From: Gaurav Date: Wed, 27 Apr 2011 03:20:11 +0000 Subject: NFS : Maintain common state for MOUNT1 and MOUNT3. Signed-off-by: Gaurav Signed-off-by: Anand Avati BUG: 2695 (Mac host showmount -a not working.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2695 --- xlators/nfs/server/src/nfs.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'xlators/nfs/server/src/nfs.c') diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c index 081414607..c2dd16b6b 100644 --- a/xlators/nfs/server/src/nfs.c +++ b/xlators/nfs/server/src/nfs.c @@ -660,6 +660,13 @@ init (xlator_t *this) { goto err; } + ret = mount_init_state (this); + if (ret == -1) { + gf_log (GF_NFS, GF_LOG_CRITICAL, "Failed to init Mount" + "state"); + goto err; + } + ret = nfs_init_versions (nfs, this); if (ret == -1) { gf_log (GF_NFS, GF_LOG_ERROR, "Failed to initialize " -- cgit