search for: check_same_stat

Displaying 2 results from an estimated 2 matches for "check_same_stat".

2016 Mar 09
0
mkdir-dup test flapping
...eks. Let me go through the issue and proposed code *really* carefully :-). The open code can be really tricky (as you've already found). Thanks ! Jeremy. > The issue appears to be in this call: > > 3638 /* Ensure there was no race condition. */ > 3639 if (!check_same_stat(&smb_dname->st, &fsp->fsp_name->st)) { > 3640 samba_start_debugger(); > 3641 DEBUG(5,("open_directory: stat struct differs for " > 3642 "directory %s.\n", > 3643...
2016 Mar 09
4
mkdir-dup test flapping
...this some more, and Andrew seemed to understand and wrote the attached patch. > > We got the logs by forcing smbd to run with -d10 by patching > file_server/fileserver.c. The issue appears to be in this call: 3638 /* Ensure there was no race condition. */ 3639 if (!check_same_stat(&smb_dname->st, &fsp->fsp_name->st)) { 3640 samba_start_debugger(); 3641 DEBUG(5,("open_directory: stat struct differs for " 3642 "directory %s.\n", 3643 smb_fname_str_db...