]> git.ipfire.org Git - thirdparty/samba.git/commit
s4:smbtorture: Fix samba3.smb.dir on btrfs
authorAndreas Schneider <asn@samba.org>
Fri, 29 Nov 2024 06:37:54 +0000 (07:37 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 29 Nov 2024 15:10:13 +0000 (15:10 +0000)
commitfe96aa111cdcc0f753075cccb8f1fd44791abaab
treea1c99eddd2854f0fe0465ef93c03da7f0d79b5d8
parent38b8a4f2232ca3e8dc4596c080df770f07fa49a8
s4:smbtorture: Fix samba3.smb.dir on btrfs

"If a file is removed from or added to the directory after the most recent call
to opendir() or rewinddir(), whether a subsequent call to readdir() returns
an entry for that file is unspecified."
https://pubs.opengroup.org/onlinepubs/009604599/functions/readdir.html

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Nov 29 15:10:13 UTC 2024 on atb-devel-224
source4/torture/smb2/dir.c