]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_gpfs: Use gpfs_get_winattrs instead of gpfs_fstat_x
authorChristof Schmitt <cs@samba.org>
Tue, 4 Feb 2025 20:18:21 +0000 (13:18 -0700)
committerJule Anger <janger@samba.org>
Thu, 6 Feb 2025 11:24:41 +0000 (11:24 +0000)
commitdd7cc4da0f3962a82382c91c80ae6922f4faa78b
tree10ef009805468310e2df1a574c4a1bc8bd0acd60
parent4787c737ec0421ac6286ff5cae9810e5d8587773
vfs_gpfs: Use gpfs_get_winattrs instead of gpfs_fstat_x

gpfs_fstat_x had been introduced for querying additional inode
attributes for fileids. With the fileid code being removed, the simpler
gpfs_get_winattrs call can be used. gpfs_get_winattrs also accepts
O_PATH descriptors since GPFS 5.1.2.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_gpfs.c