vfs_glusterfs: Fix fdopendir implementation
commit0633d8837ce4ddcf7f46c5f320e8d0b3142177fa
authorAnoop C S <anoopcs@samba.org>
Fri, 13 May 2022 11:16:01 +0000 (13 16:46 +0530)
committerJeremy Allison <jra@samba.org>
Tue, 17 May 2022 20:20:05 +0000 (17 20:20 +0000)
treeb53a3d6fa42455e130edeb682f2f8e7ce50c9217
parent767ede0064ce9a9d0576a337b2059f4ba3a6adeb
vfs_glusterfs: Fix fdopendir implementation

Directory stream returned for fdopendir() within vfs_glusterfs 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 fsp.

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue May 17 20:20:05 UTC 2022 on sn-devel-184
source3/modules/vfs_glusterfs.c