summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-08-31 06:50:35 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-08-31 07:45:00 -0700
commitd6f9504e01d444d625c24a5c2dcc5c7684c159d6 (patch)
treef0db2b9a525e80f0784aaf91a029df2d9ffe8352 /xlators
parent66beeeb7739531335ad0982b51886e82f7c8647f (diff)
nfs: Set actorxl to enable setting THIS to nfsx
..for fixing mem-accounting for NFS in mainline. Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1280 (gf_mem_set_acct_info goes into spinlock busyloop, never returns) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1280
Diffstat (limited to 'xlators')
-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 c74691cceac..033a60ba2ad 100644
--- a/xlators/nfs/server/src/nfs.c
+++ b/xlators/nfs/server/src/nfs.c
@@ -113,6 +113,7 @@ nfs_init_versions (struct nfs_state *nfs, xlator_t *this)
}
prog = version->init (this);
+ prog->actorxl = this;
version->program = prog;
if (!prog) {
ret = -1;