diff options
author | Krishna Srinivas <ksriniva@redhat.com> | 2012-04-26 17:42:11 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-04-26 22:25:43 -0700 |
commit | 81df001b3efb2313e68745abd84f02e24fba6e67 (patch) | |
tree | 40e7ba8e8ff781421192e96ad11294990291a760 /xlators/nfs/server | |
parent | 6db7f8f173d30313ab9f1d88e7a6398ac97fdf8d (diff) |
nlm: use correct subvolume when opening the filev3.3.0qa39
Change-Id: Ia0a482c89f10481184dc8f0f5b27cf6612ac114a
BUG: 816476
Signed-off-by: Krishna Srinivas <ksriniva@redhat.com>
Reviewed-on: http://review.gluster.com/3233
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/nfs/server')
-rw-r--r-- | xlators/nfs/server/src/nlm4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/nfs/server/src/nlm4.c b/xlators/nfs/server/src/nlm4.c index 3f8feee8330..4f9a1c4fcef 100644 --- a/xlators/nfs/server/src/nlm4.c +++ b/xlators/nfs/server/src/nlm4.c @@ -603,8 +603,8 @@ nlm4_file_open_and_resume(nfs3_call_state_t *cs, nlm4_resume_fn_t resume) frame->root->uid = 0; frame->root->gid = 0; frame->local = cs; - STACK_WIND_COOKIE (frame, nlm4_file_open_cbk, cs->nfsx, cs->nfsx, - cs->nfsx->fops->open, &cs->resolvedloc, O_RDWR, + STACK_WIND_COOKIE (frame, nlm4_file_open_cbk, cs->vol, cs->vol, + cs->vol->fops->open, &cs->resolvedloc, O_RDWR, cs->fd, NULL); ret = 0; err: |