diff options
author | Jeremy Allison <jra@samba.org> | 2013-11-21 21:33:33 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-11-22 08:56:38 -0800 |
commit | 4e6934ec6c163ad6fd9c317b5a7dd7775b0dc83f (patch) | |
tree | a8eb9753e8a1638e11654f983af20ea9d45099c4 /source3/smbd/close.c | |
parent | e665fc394074e5aebc22baa4aa1d8d45077ce37d (diff) | |
download | samba-4e6934ec6c163ad6fd9c317b5a7dd7775b0dc83f.tar.gz samba-4e6934ec6c163ad6fd9c317b5a7dd7775b0dc83f.tar.xz samba-4e6934ec6c163ad6fd9c317b5a7dd7775b0dc83f.zip |
Rename the profile enums with a SAMBA_ prefix to avoid conflict with system files.
WRITE_FLUSH is defined in fs.h in Linux.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'source3/smbd/close.c')
-rw-r--r-- | source3/smbd/close.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c index 6153066018f..02babb7a9ef 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -148,7 +148,7 @@ static NTSTATUS close_filestruct(files_struct *fsp) NTSTATUS status = NT_STATUS_OK; if (fsp->fh->fd != -1) { - if(flush_write_cache(fsp, CLOSE_FLUSH) == -1) { + if(flush_write_cache(fsp, SAMBA_CLOSE_FLUSH) == -1) { status = map_nt_error_from_unix(errno); } delete_write_cache(fsp); |