smbd: add inode marshalling in smb3_file_posix_information_init()
authorRalph Boehme <slow@samba.org>
Thu, 26 Oct 2023 13:24:07 +0000 (15:24 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 26 Oct 2023 16:32:30 +0000 (16:32 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Oct 26 16:32:30 UTC 2023 on atb-devel-224

source3/smbd/smb2_posix.c

index 1af3812ed12cc05c8e5ec8f4e83269d182fd2def..9623e59e43a61b2dc2c6ce4eac8acb14031a934a 100644 (file)
@@ -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),