summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix.c
diff options
context:
space:
mode:
authorVenky Shankar <venky@gluster.com>2011-08-16 12:17:29 +0530
committerVijay Bellur <vijay@gluster.com>2011-08-24 06:41:39 -0700
commitd499cb8064f61b70bc37a7d6cbf0f0c3b219c342 (patch)
tree5a93bc707dd7a18e103e0ce686615711323f9775 /xlators/storage/posix/src/posix.c
parent6f1062f3473407cebfd5d902db2d2c6965dcf034 (diff)
afr/stripe: collect pathinfo xattr from all childs
Change-Id: Iec8b609e66ef21f4fdd6ee2ff3060f0b71d47ca0 BUG: 3046 Reviewed-on: http://review.gluster.com/237 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com>
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
-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 75719021b2c..6d0786c2949 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -3336,7 +3336,7 @@ posix_getxattr (call_frame_t *frame, xlator_t *this,
}
if (loc->inode && IA_ISREG (loc->inode->ia_type) && name &&
(strcmp (name, GF_XATTR_PATHINFO_KEY) == 0)) {
- snprintf (host_buf, 1024, "%s:%s", priv->hostname,
+ snprintf (host_buf, 1024, "<POSIX:%s:%s>", priv->hostname,
real_path);
ret = dict_set_str (dict, GF_XATTR_PATHINFO_KEY,
host_buf);