Displaying 1 result from an estimated 1 matches for "no_oplock_type".
2002 Feb 25
3
PATCH: Samba/Win2K renaming bug
...ork 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 up trying to break a lock that's not held without that change.
I don't know much about CIFS or Samba, so I...