vfs_glusterfs: Simplify SMB_VFS_GET_REAL_FILENAME_AT implementation
authorAnoop C S <anoopcs@samba.org>
Tue, 11 Oct 2022 17:55:46 +0000 (23:25 +0530)
committerRalph Boehme <slow@samba.org>
Wed, 12 Oct 2022 11:46:36 +0000 (11:46 +0000)
commit8cbd9e63724d80c06565d0c90bd107166dfd9bbe
tree86af91ed340a10ce0e5f87a7ad35123e4f1f2e79
parent0bf8d136769fd00f0de003c71e3551f936c5198e
vfs_glusterfs: Simplify SMB_VFS_GET_REAL_FILENAME_AT implementation

It was unnecessary to construct full directory path as "dir/." which is
same as "dir". We could just directly use dirfsp->fsp_name->base_name
for glfs_getxattr() and return the result.

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>
source3/modules/vfs_glusterfs.c