From 5654dc9f93abe195fd4a1d3ed4a4971710db06e4 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Thu, 1 Oct 2009 06:58:54 +0000 Subject: locks: NFS-friendly logic changes 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/features/filter/src/filter.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xlators/features/filter') diff --git a/xlators/features/filter/src/filter.c b/xlators/features/filter/src/filter.c index ce31753a4..1a9fe4ad9 100644 --- a/xlators/features/filter/src/filter.c +++ b/xlators/features/filter/src/filter.c @@ -213,8 +213,10 @@ filter_lookup_cbk (call_frame_t *frame, gf_log (this->name, GF_LOG_ERROR, "couldn't set context"); } + + update_stat (postparent, this->private); } - STACK_UNWIND (frame, op_ret, op_errno, inode, buf, dict); + STACK_UNWIND (frame, op_ret, op_errno, inode, buf, dict, postparent); return 0; } -- cgit