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/include/smbprofile.h | |
parent | e665fc394074e5aebc22baa4aa1d8d45077ce37d (diff) | |
download | samba-4e6934ec6c163ad6fd9c317b5a7dd7775b0dc83f.tar.gz |
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/include/smbprofile.h')
-rw-r--r-- | source3/include/smbprofile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/smbprofile.h b/source3/include/smbprofile.h index 79410e597f7..8ecbc301238 100644 --- a/source3/include/smbprofile.h +++ b/source3/include/smbprofile.h @@ -870,7 +870,7 @@ struct profile_stats { unsigned writecache_non_oplock_writes; unsigned writecache_direct_writes; unsigned writecache_init_writes; - unsigned writecache_flushed_writes[NUM_FLUSH_REASONS]; + unsigned writecache_flushed_writes[SAMBA_NUM_FLUSH_REASONS]; unsigned writecache_num_perfect_writes; unsigned writecache_num_write_caches; unsigned writecache_allocated_write_caches; |