git.samba.org
/
dmulder
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
788dafc
)
smbd: add nlinks marshalling in smb3_file_posix_information_init()
author
Ralph Boehme
<slow@samba.org>
Thu, 26 Oct 2023 13:24:27 +0000
(15:24 +0200)
committer
Volker Lendecke
<vl@samba.org>
Thu, 26 Oct 2023 15:29:29 +0000
(15:29 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/smb2_posix.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_posix.c
b/source3/smbd/smb2_posix.c
index 733854ca672459c0d36d7272d538d0ea9e922463..1af3812ed12cc05c8e5ec8f4e83269d182fd2def 100644
(file)
--- a/
source3/smbd/smb2_posix.c
+++ b/
source3/smbd/smb2_posix.c
@@
-39,6
+39,7
@@
void smb3_file_posix_information_init(
.last_access_time = unix_timespec_to_nt_time(st->st_ex_atime),
.last_write_time = unix_timespec_to_nt_time(st->st_ex_mtime),
.change_time = unix_timespec_to_nt_time(st->st_ex_ctime),
+ .cc.nlinks = st->st_ex_nlink,
.cc.reparse_tag = reparse_tag,
.cc.posix_perms = unix_perms_to_wire(st->st_ex_mode & ~S_IFMT),
.cc.owner = global_sid_NULL,