summaryrefslogtreecommitdiffstats
path: root/xlators/mount
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-10-27 05:13:05 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-27 04:39:23 -0700
commitfad22625b4012e9a5d6b29bb23f0d864c611ae1c (patch)
tree450919206ce57ac1a2e3f4a21abfb106e68d188c /xlators/mount
parentc415e5cfb87bc240ae8438e9df995ce45b55004e (diff)
mount/fuse: Use correct offset for name in fuse_getxattr
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'xlators/mount')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index e28128278a1..7ff39ec3fa5 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -2616,7 +2616,7 @@ static void
fuse_getxattr (xlator_t *this, fuse_in_header_t *finh, void *msg)
{
struct fuse_getxattr_in *fgxi = msg;
- char *name = (char *)(msg + 1);
+ char *name = (char *)(fgxi + 1);
fuse_state_t *state = NULL;
int32_t ret = -1;