diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-08 12:03:45 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-08 12:22:21 +0100 |
commit | 3dde0cbb769b92d922be13677ad076cae9b6a693 (patch) | |
tree | 78594e39465f545c7252eaef7bc469ceb80c4d71 /source3/smbd/fileio.c | |
parent | defb574c2573a73335a2735e89e4cb5f96c4c069 (diff) | |
download | samba-3dde0cbb769b92d922be13677ad076cae9b6a693.tar.gz |
s3:smbd: move all globals and static variables in globals.[ch]
The goal is to move all this variables into a big context structure.
metze
Diffstat (limited to 'source3/smbd/fileio.c')
-rw-r--r-- | source3/smbd/fileio.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/fileio.c b/source3/smbd/fileio.c index 30253d44664..3e3f0943b3d 100644 --- a/source3/smbd/fileio.c +++ b/source3/smbd/fileio.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "smbd/globals.h" static bool setup_write_cache(files_struct *, SMB_OFF_T); @@ -109,9 +110,6 @@ tryagain: return(ret); } -/* how many write cache buffers have been allocated */ -static unsigned int allocated_write_caches; - /**************************************************************************** *Really* write to a file. ****************************************************************************/ |