summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-09-09 08:08:06 +0200
committerRalph Boehme <slow@samba.org>2019-09-10 20:22:21 +0000
commit95655fe683d499d93f3844ed72ad332ef64adb96 (patch)
tree0fb2a75a94101082203e08cd40481877a0533d98 /selftest
parente00e78cfeda99bd5374eff8fb4ba84873e4e46b7 (diff)
downloadsamba-95655fe683d499d93f3844ed72ad332ef64adb96.tar.gz
vfs: restore stat fields in vfs_stat_fsp()
This ensures we preserve btime, itime and File-ID. As the Durable Handles code calls vfs_stat_fsp() in the DH disconnect function, previously the btime was lost and NOT stored in the cookie. With this change the cookie will store the correct btime (and iflags), which requires us to call dos_mode() in the reconnect function to ensure we pass vfs_default_durable_reconnect_check_stat(). BUG: https://bugzilla.samba.org/show_bug.cgi?id=14121 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Tue Sep 10 20:22:21 UTC 2019 on sn-devel-184
Diffstat (limited to 'selftest')
-rw-r--r--selftest/knownfail.d/samba3.smb2.create1
1 files changed, 0 insertions, 1 deletions
diff --git a/selftest/knownfail.d/samba3.smb2.create b/selftest/knownfail.d/samba3.smb2.create
deleted file mode 100644
index 89455dacdf0..00000000000
--- a/selftest/knownfail.d/samba3.smb2.create
+++ /dev/null
@@ -1 +0,0 @@
-^samba3.smb2.fileid.fileid\(nt4_dc\)