diff options
| author | Gaurav <gaurav@gluster.com> | 2011-04-27 03:32:38 +0000 | 
|---|---|---|
| committer | Anand Avati <avati@gluster.com> | 2011-05-19 20:14:20 -0700 | 
| commit | e769393b7eba8aedfd764ca3a0a519d9e3f1212e (patch) | |
| tree | b32f5e0411483137bf24305d82804cee2329a924 /xlators/nfs/server/src/nfs.c | |
| parent | 7bb3165eac9e21f60231c7b91c4e2e879daab796 (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 110677370f5..198557d2e7a 100644 --- a/xlators/nfs/server/src/nfs.c +++ b/xlators/nfs/server/src/nfs.c @@ -676,6 +676,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 "  | 
