vfs_glusterfs: Simplify SMB_VFS_FDOPENDIR implementation
commitcc397175cb9a1b06f268ecf6b3d62f621947cbba
authorAnoop C S <anoopcs@samba.org>
Tue, 11 Oct 2022 17:32:48 +0000 (11 23:02 +0530)
committerRalph Boehme <slow@samba.org>
Wed, 12 Oct 2022 12:48:50 +0000 (12 12:48 +0000)
treeed96ece286d3a23a13ba5e9764477127bce38cd0
parent7af4bfe8285714c137b6347b17305c9cd0702bdd
vfs_glusterfs: Simplify SMB_VFS_FDOPENDIR implementation

It was unnecessary to construct full directory path as "dir/." which is
same as "dir". We could just directly use fsp->fsp_name->base_name and
return directory stream obtained from glfs_opendir().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15198

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Oct 12 12:48:50 UTC 2022 on sn-devel-184
source3/modules/vfs_glusterfs.c