diff options
author | Jeremy Allison <jra@samba.org> | 2014-01-29 17:01:30 -0800 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-02-12 12:37:03 +1300 |
commit | fd79652b0e598882e0c4d156bd897c29dae8ec04 (patch) | |
tree | 0b5b5ac7e70fe7a1f149ecfc7b20cd18919958d6 /source4/scripting/bin/w32err_code.py | |
parent | da9b3c15d52cd3b2acccd376a41bea828292668d (diff) | |
download | samba-fd79652b0e598882e0c4d156bd897c29dae8ec04.tar.gz samba-fd79652b0e598882e0c4d156bd897c29dae8ec04.tar.xz samba-fd79652b0e598882e0c4d156bd897c29dae8ec04.zip |
s3: vfs_dirsort module.
Allow dirsort to work when multiple simultaneous
directories are open. The old code only keeps one
active private data pointer on the connection struct, opening
a second directory on the same connection will overwrite it.
This modification turns the private data pointer
into a linked list of open directories on the
connection struct, and finds the correct one by searching
on the passed in DIR *.
With this code in place, smbd passes raw.search
torture test on a share definition with:
vfs objects = dirsort
https://bugzilla.samba.org/show_bug.cgi?id=10406
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting/bin/w32err_code.py')
0 files changed, 0 insertions, 0 deletions