diff options
author | Jeremy Allison <jra@samba.org> | 1998-08-20 19:28:37 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-08-20 19:28:37 +0000 |
commit | e1dd03ecda0bc6d7eaa31070c83774bb5679fd1b (patch) | |
tree | fb9fca37fd465bbc7f7deabf8f850c62cf855a76 /source/smbd/files.c | |
parent | 10303a78d4b12a03166db89202759cd745c516c5 (diff) | |
download | samba-e1dd03ecda0bc6d7eaa31070c83774bb5679fd1b.tar.gz |
Turning on blocking locking code. NB. Blocking lock requests that are not
the head of an SMB request (ie. are part of a chain) will not be queued -
this will be fixed when we move to the new chain code. In practice, this
doesn't seem to cause much of a problem (in my admittedly limited testing)
bug a debug level zero message will be placed in the log when this
happens to help determine how real the problem is.
smbd/locking.c: New debug messages.
smbd/blocking.c: New blocking code - handles SMBlock, SMBlockread and SMBlockingX
smbd/chgpasswd.c: Fix for master fd leak.
smbd/files.c: Tidyup comment.
smbd/nttrans.c: Added fnum to debug message.
smbd/process.c: Made chain_reply() use construct_reply_common(). Added blocking
lock queue processing into idle loop.
smbd/reply.c: Added queue pushes for SMBlock, SMBlockread and SMBlockingX.
Jeremy.
Diffstat (limited to 'source/smbd/files.c')
-rw-r--r-- | source/smbd/files.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/files.c b/source/smbd/files.c index 4f878021198..00de8dfffa1 100644 --- a/source/smbd/files.c +++ b/source/smbd/files.c @@ -380,10 +380,10 @@ files_struct *file_fsp(char *buf, int where) return NULL; } - /**************************************************************************** -reset the chained fsp - done at the start of a packet reply + Reset the chained fsp - done at the start of a packet reply ****************************************************************************/ + void file_chain_reset(void) { chain_fsp = NULL; |