libsmb: remove mode from struct file_info
commitd6c8b709edb9c648934587b7d0f6ef4f06c78c38
authorRalph Boehme <slow@samba.org>
Sun, 29 Oct 2023 14:27:08 +0000 (29 15:27 +0100)
committerRalph Boehme <slow@samba.org>
Tue, 31 Oct 2023 04:38:42 +0000 (31 04:38 +0000)
treece9089ecdb1585e306b8f718574986e33c1bc686
parent3dc1911f7c434de9631ddd28beeac04aa7af9f87
libsmb: remove mode from struct file_info

There's already the "attr" member and this is even used in list_posix_helper()
in pylibsmb.c. While at it, remove the cast in list_posix_helper() by using "I"
instead of "i" format.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
source3/include/client.h
source3/libsmb/cli_smb2_fnum.c
source3/libsmb/pylibsmb.c