summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra G <rgowdapp@redhat.com>2013-08-13 22:43:48 +0530
committerRaghavendra G <rgowdapp@redhat.com>2013-09-03 10:28:03 +0530
commit1520a9594da0d35e6219115c16cfe17c024a28d7 (patch)
tree2ff4bdf8e284c5f52bf4b2de38cf956257338032
parent913178c58c9a7536d39306672f597183f7fde8d3 (diff)
marker: use gfid from iatt instead of from inode in getxattr_cbk.
Change-Id: I807ef0616af3f0f83d3c14e92cc93f5c765908af BUG: 969461 Signed-off-by: Raghavendra G <rgowdapp@redhat.com>
-rw-r--r--xlators/features/marker/src/marker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/src/marker.c b/xlators/features/marker/src/marker.c
index bed8a5c3..406aff03 100644
--- a/xlators/features/marker/src/marker.c
+++ b/xlators/features/marker/src/marker.c
@@ -303,7 +303,7 @@ marker_getxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
uuid_copy (loc.pargfid, parent->gfid);
}
- uuid_copy (loc.gfid, entry->inode->gfid);
+ uuid_copy (loc.gfid, entry->d_stat.ia_gfid);
mq_xattr_state (this, &loc, entry->dict, entry->d_stat);