From d6f9504e01d444d625c24a5c2dcc5c7684c159d6 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Tue, 31 Aug 2010 06:50:35 +0000 Subject: nfs: Set actorxl to enable setting THIS to nfsx ..for fixing mem-accounting for NFS in mainline. Signed-off-by: Shehjar Tikoo Signed-off-by: Vijay Bellur 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 --- xlators/nfs/server/src/nfs.c | 1 + 1 file changed, 1 insertion(+) (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 c74691cce..033a60ba2 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; -- cgit