diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-10-01 06:58:54 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-01 07:23:13 -0700 |
commit | 5654dc9f93abe195fd4a1d3ed4a4971710db06e4 (patch) | |
tree | e1e8b0bc08b95b6e039be009f54c3cb3c1d1ac9c /xlators/features/filter | |
parent | ecf1ea918f206a23c2c74a792ee61f4c5ac799c2 (diff) |
locks: NFS-friendly logic changes
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 145 (NFSv3 related additions to 2.1 task list)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=145
Diffstat (limited to 'xlators/features/filter')
-rw-r--r-- | xlators/features/filter/src/filter.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/features/filter/src/filter.c b/xlators/features/filter/src/filter.c index ce31753a432..1a9fe4ad95d 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; } |