git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f0b656
)
s3:smbd add missing VolumeCreationTime to FileFsVolumeInformation
author
Christian Ambach
<ambi@samba.org>
Sat, 7 May 2022 18:37:34 +0000
(20:37 +0200)
committer
Jeremy Allison
<jra@samba.org>
Mon, 6 Jun 2022 16:46:35 +0000
(16:46 +0000)
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_trans2.c
b/source3/smbd/smb2_trans2.c
index ba54c5ada6e0cf08f6228662e8cc688003d9041f..f4cc0b98b9260c0831ecc9b4c06ed68d664f0971 100644
(file)
--- a/
source3/smbd/smb2_trans2.c
+++ b/
source3/smbd/smb2_trans2.c
@@
-2296,7
+2296,8
@@
cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)st.st_ex_dev, (u
case SMB_QUERY_FS_VOLUME_INFO:
case SMB_FS_VOLUME_INFORMATION:
-
+ put_long_date_full_timespec(TIMESTAMP_SET_NT_OR_BETTER,
+ pdata, &st.st_ex_btime);
/*
* Add volume serial number - hash of a combination of
* the called hostname and the service name.