diff options
| author | raghavendra talur <raghavendra.talur@gmail.com> | 2014-12-10 21:15:03 +0530 |
|---|---|---|
| committer | Michael Adam <obnox@samba.org> | 2014-12-17 18:45:06 +0100 |
| commit | af9ec9fea5a730023cdee6e236f9585e3a18b0e6 (patch) | |
| tree | 4aecb074511fadade9213d3c65705d075d0cad6a /source3/modules | |
| parent | 051b81aac81c7ccb234da221e9f8272b70b265ce (diff) | |
vfs/glusterfs: Change xattr key to match gluster key.
Gluster changed the key used to do get_real_filename
in 3.5. This changes Samba's glusterfs vfs-module
to use the same key.
This will render SMB_VFS_GET_REALFILENAME() working
again under 3.5 and will remove support for that functionality
for Gluster 3.4 and older.
Signed-off-by: raghavendra talur <raghavendra.talur@gmail.com>
Reviewed-by: Ira Cooper <ira@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/modules')
| -rw-r--r-- | source3/modules/vfs_glusterfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c index 68aea40c87..10c3a22260 100644 --- a/source3/modules/vfs_glusterfs.c +++ b/source3/modules/vfs_glusterfs.c @@ -1110,7 +1110,7 @@ static int vfs_gluster_get_real_filename(struct vfs_handle_struct *handle, } snprintf(key_buf, NAME_MAX + 64, - "user.glusterfs.get_real_filename:%s", name); + "glusterfs.get_real_filename:%s", name); ret = glfs_getxattr(handle->data, path, key_buf, val_buf, NAME_MAX + 1); if (ret == -1) { |
