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/reply.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/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
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. */ |