diff options
author | Jeremy Allison <jra@samba.org> | 2000-04-24 19:23:51 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-04-24 19:23:51 +0000 |
commit | 389b700a26e8a308a0dff6fc038c38068aa0119a (patch) | |
tree | 8ec3e39d975e2601e009cb98e91dd7d518407fc1 /source/smbd/close.c | |
parent | 41af3232dba90832684ad8260ce0bb05e077cb02 (diff) | |
download | samba-389b700a26e8a308a0dff6fc038c38068aa0119a.tar.gz samba-389b700a26e8a308a0dff6fc038c38068aa0119a.tar.xz samba-389b700a26e8a308a0dff6fc038c38068aa0119a.zip |
Now that fsp's are created on successful file open, the structure member
fsp->open is no longer needed (if an fsp pointer is valid, then it's open :-).
NB for Luke, this patch also did not apply to TNG. TNG is not yet
identical w.r.t file serving with HEAD. This makes it impossible for
me to help maintain TNG. Please fix asap.
lib/substitute.c: Removed unused variable (pidstr).
Jeremy.
Diffstat (limited to 'source/smbd/close.c')
-rw-r--r-- | source/smbd/close.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/close.c b/source/smbd/close.c index ec28ff35403..03f6aaf81a5 100644 --- a/source/smbd/close.c +++ b/source/smbd/close.c @@ -72,8 +72,8 @@ void close_filestruct(files_struct *fsp) flush_write_cache(fsp, CLOSE_FLUSH); - fsp->open = False; fsp->is_directory = False; + fsp->stat_open = False; conn->num_files_open--; if(fsp->wbmpx_ptr) { |