diff options
author | Gaurav <gaurav@gluster.com> | 2011-04-27 03:20:11 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-05-03 12:13:04 -0700 |
commit | 27deebbf6c67f5076cae241e98043aa8b8b57ff8 (patch) | |
tree | ae0aa3ea5746ffeb30353e815b5080fcfb46f71e /xlators/nfs/server/src/nfs.c | |
parent | 7e8da0f5a8bfdd2d1db084fb508b417194754bff (diff) |
NFS : Maintain common state for MOUNT1 and MOUNT3.
Signed-off-by: Gaurav <gaurav@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2695 (Mac host showmount -a not working.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2695
Diffstat (limited to 'xlators/nfs/server/src/nfs.c')
-rw-r--r-- | xlators/nfs/server/src/nfs.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c index 081414607c2..c2dd16b6b56 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 " |