search for: batch_oplock_typ

Displaying 1 result from an estimated 1 matches for "batch_oplock_typ".

Did you mean: batch_oplock_type
2002 Feb 25
3
PATCH: Samba/Win2K renaming bug
...ng to do the rename. op_type 0 seemed to imply an unlocked share, so I went in to see if I could tweak the server to work in that case. A full patch (including a TON of DEBUG() changes) is included below -- in brief, though, I changed the test in check_file_sharing (open.c:1234) from if (BATCH_OPLOCK_TYPE(share_entry->op_type)) to if (BATCH_OPLOCK_TYPE(share_entry->op_type) || NO_OPLOCK_TYPE(share_entry->op_type)) after adding a NO_OPLOCK_TYPE macro in include/smb.h. I then had to re-enable the code that JRA removed (open.c:1237 - 1273) -- presumably the server ends...