From: Ralph Boehme Date: Thu, 26 Oct 2023 13:24:07 +0000 (+0200) Subject: smbd: add inode marshalling in smb3_file_posix_information_init() X-Git-Tag: talloc-2.4.2~998 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=853ae7a913e1051bebbabf07a2280904835b8bef;p=thirdparty%2Fsamba.git smbd: add inode marshalling in smb3_file_posix_information_init() Signed-off-by: Ralph Boehme Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Thu Oct 26 16:32:30 UTC 2023 on atb-devel-224 --- diff --git a/source3/smbd/smb2_posix.c b/source3/smbd/smb2_posix.c index 1af3812ed12..9623e59e43a 100644 --- a/source3/smbd/smb2_posix.c +++ b/source3/smbd/smb2_posix.c @@ -34,6 +34,7 @@ void smb3_file_posix_information_init( *dst = (struct smb3_file_posix_information) { .end_of_file = get_file_size_stat(st), .allocation_size = SMB_VFS_GET_ALLOC_SIZE(conn,NULL,st), + .inode = SMB_VFS_FS_FILE_ID(conn, st), .device = st->st_ex_dev, .creation_time = unix_timespec_to_nt_time(st->st_ex_btime), .last_access_time = unix_timespec_to_nt_time(st->st_ex_atime),