Skip to content

Commit

Permalink
smbd: add inode marshalling in smb3_file_posix_information_init()
Browse files Browse the repository at this point in the history
Signed-off-by: Ralph Boehme <[email protected]>
Reviewed-by: Volker Lendecke <[email protected]>

Autobuild-User(master): Volker Lendecke <[email protected]>
Autobuild-Date(master): Thu Oct 26 16:32:30 UTC 2023 on atb-devel-224
  • Loading branch information
slowfranklin authored and vlendec committed Oct 26, 2023
1 parent 3aedefc commit 853ae7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source3/smbd/smb2_posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 853ae7a

Please sign in to comment.