From 4e6934ec6c163ad6fd9c317b5a7dd7775b0dc83f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 21 Nov 2013 21:33:33 -0800 Subject: 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 Reviewed-by: David Disseldorp --- source3/smbd/reply.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/reply.c') diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index b160290345..ffbfabbca5 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -3390,7 +3390,7 @@ void reply_readbraw(struct smb_request *req) return; } - flush_write_cache(fsp, READRAW_FLUSH); + flush_write_cache(fsp, SAMBA_READRAW_FLUSH); startpos = IVAL_TO_SMB_OFF_T(req->vwv+1, 0); if(req->wct == 10) { @@ -4888,7 +4888,7 @@ void reply_lseek(struct smb_request *req) return; } - flush_write_cache(fsp, SEEK_FLUSH); + flush_write_cache(fsp, SAMBA_SEEK_FLUSH); mode = SVAL(req->vwv+1, 0) & 3; /* NB. This doesn't use IVAL_TO_SMB_OFF_T as startpos can be signed in this case. */ -- cgit