Patchwork [BUG:770] nfs: Remove reference to top

login
register
Submitter Shehjar Tikoo
Date 2010-04-20 08:13:08
Message ID <1271751188-26197-1-git-send-email-shehjart@gluster.com>
Download mbox | patch
Permalink /patch/3150/
State Accepted
Headers show

Comments

Shehjar Tikoo - 2010-04-20 08:13:08
From: Shehjar Tikoo <shehjart@gluster.com>

This is not needed anymore and also conflicts with changes being
made for DVM.
Should have been removed with the bug fix for bz 770.

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

Patch

diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c
index 14d82fc..b598b0c 100644
--- a/xlators/nfs/server/src/nfs.c
+++ b/xlators/nfs/server/src/nfs.c
@@ -483,7 +483,6 @@  init (xlator_t *this) {
                 goto free_nfs;
         }
 
-        this->ctx->top = this;
         ret = nfs_init_subvolumes (nfs, this->children);
         if (ret == -1) {
                 gf_log (GF_NFS, GF_LOG_CRITICAL, "Failed to init NFS exports");