VFS and tdb_lock

Jeremy Allison jeremy at valinux.com
Thu Sep 28 23:40:54 GMT 2000


Jeremy Allison wrote:
>
> Now, in smbd/open.c at line 772 it's trying to do a set_share_mode()
> call. For this to be correct, the tdb hashchain *SHOULD ALREADY BE LOCKED*
> with a WRITE fcntl lock. ie. There should already be a lock on this hashchain
> that the code in open_file_shared() obtained previously at either lines 664 or
> 693 in smbd/open.c (note the comments at line 665 and 706 in smbd/open.c).

Sorry, the line 664 should read 644 here.

Jeremy.

--
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------




More information about the samba-technical mailing list