mount/fuse: Use correct offset for name in fuse_getxattr

Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
This commit is contained in:
Vikas Gorur 2009-10-27 05:13:05 +00:00 committed by Anand V. Avati
parent c415e5cfb8
commit fad22625b4

View File

@ -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;