From 78d281d6026ad1ebe8cc65c4396055902369ea89 Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Tue, 27 Oct 2009 06:09:46 +0000 Subject: cluster/afr: Set local->fd in fsync. Signed-off-by: Anand V. Avati BUG: 145 (NFSv3 related additions to 2.1 task list) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=145 --- xlators/cluster/afr/src/afr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c index ea69cc816d4..c9a46f28a14 100644 --- a/xlators/cluster/afr/src/afr.c +++ b/xlators/cluster/afr/src/afr.c @@ -1229,6 +1229,7 @@ afr_fsync (call_frame_t *frame, xlator_t *this, fd_t *fd, call_count = local->call_count; frame->local = local; + local->fd = fd_ref (fd); local->cont.fsync.ino = fd->inode->ino; for (i = 0; i < priv->child_count; i++) { -- cgit