vfs_glusterfs: Fix get_real_filename_at implementation
authorAnoop C S <anoopcs@samba.org>
Mon, 2 May 2022 09:45:53 +0000 (15:15 +0530)
committerJeremy Allison <jra@samba.org>
Tue, 17 May 2022 19:28:30 +0000 (19:28 +0000)
commit767ede0064ce9a9d0576a337b2059f4ba3a6adeb
tree6b2dcec2c862c5592119d55691ef2da15b4c71a5
parentd3c678233c41e21d8c65f4ea0108a2046451367c
vfs_glusterfs: Fix get_real_filename_at implementation

glfd(gluster fd) used in glfs_fgetxattr() for get_real_filename_at()
implementation doesn't correctly point to required directory fd. Since
GlusterFS still don't support *at() variant syscalls we will have to
rely on full path/name constructed out of dirfsp.

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_glusterfs.c