summaryrefslogtreecommitdiffstats
path: root/xlators/storage
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-07-12 05:16:32 +0000
committerAnand Avati <avati@gluster.com>2011-07-12 05:37:05 -0700
commit79f4135994e5051c711595c791d5831bdad24738 (patch)
tree9261a2810e93397d623be439e62b17ce13e2fb8b /xlators/storage
parent818f8c87d56bc46d0d0903275699351b66f17e57 (diff)
storage/posix: call 'gfid_heal()' instead of 'gfid_set()' in lookup()
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2994 ([glusterfs-3.2.1qa2]: untar and rm in parallel hangs untar) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2994
Diffstat (limited to 'xlators/storage')
-rw-r--r--xlators/storage/posix/src/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index cdfa437ab75..5240659abe0 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -548,7 +548,7 @@ posix_lookup (call_frame_t *frame, xlator_t *this,
MAKE_REAL_PATH (real_path, this, loc->path);
- posix_gfid_set (this, real_path, xattr_req);
+ posix_gfid_heal (this, real_path, xattr_req);
op_ret = posix_lstat_with_gfid (this, real_path, &buf);
op_errno = errno;