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/utils | |
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/utils')
-rw-r--r-- | source3/utils/status_profile.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/utils/status_profile.c b/source3/utils/status_profile.c index 0f722196a5..0923bae249 100644 --- a/source3/utils/status_profile.c +++ b/source3/utils/status_profile.c @@ -136,14 +136,14 @@ bool status_profile_dump(bool verbose) d_printf("non_oplock_writes: %u\n", profile_p->writecache_non_oplock_writes); d_printf("direct_writes: %u\n", profile_p->writecache_direct_writes); d_printf("init_writes: %u\n", profile_p->writecache_init_writes); - d_printf("flushed_writes[SEEK]: %u\n", profile_p->writecache_flushed_writes[SEEK_FLUSH]); - d_printf("flushed_writes[READ]: %u\n", profile_p->writecache_flushed_writes[READ_FLUSH]); - d_printf("flushed_writes[WRITE]: %u\n", profile_p->writecache_flushed_writes[WRITE_FLUSH]); - d_printf("flushed_writes[READRAW]: %u\n", profile_p->writecache_flushed_writes[READRAW_FLUSH]); - d_printf("flushed_writes[OPLOCK_RELEASE]: %u\n", profile_p->writecache_flushed_writes[OPLOCK_RELEASE_FLUSH]); - d_printf("flushed_writes[CLOSE]: %u\n", profile_p->writecache_flushed_writes[CLOSE_FLUSH]); - d_printf("flushed_writes[SYNC]: %u\n", profile_p->writecache_flushed_writes[SYNC_FLUSH]); - d_printf("flushed_writes[SIZECHANGE]: %u\n", profile_p->writecache_flushed_writes[SIZECHANGE_FLUSH]); + d_printf("flushed_writes[SEEK]: %u\n", profile_p->writecache_flushed_writes[SAMBA_SEEK_FLUSH]); + d_printf("flushed_writes[READ]: %u\n", profile_p->writecache_flushed_writes[SAMBA_READ_FLUSH]); + d_printf("flushed_writes[WRITE]: %u\n", profile_p->writecache_flushed_writes[SAMBA_WRITE_FLUSH]); + d_printf("flushed_writes[READRAW]: %u\n", profile_p->writecache_flushed_writes[SAMBA_READRAW_FLUSH]); + d_printf("flushed_writes[OPLOCK_RELEASE]: %u\n", profile_p->writecache_flushed_writes[SAMBA_OPLOCK_RELEASE_FLUSH]); + d_printf("flushed_writes[CLOSE]: %u\n", profile_p->writecache_flushed_writes[SAMBA_CLOSE_FLUSH]); + d_printf("flushed_writes[SYNC]: %u\n", profile_p->writecache_flushed_writes[SAMBA_SYNC_FLUSH]); + d_printf("flushed_writes[SIZECHANGE]: %u\n", profile_p->writecache_flushed_writes[SAMBA_SIZECHANGE_FLUSH]); d_printf("num_perfect_writes: %u\n", profile_p->writecache_num_perfect_writes); d_printf("num_write_caches: %u\n", profile_p->writecache_num_write_caches); d_printf("allocated_write_caches: %u\n", profile_p->writecache_allocated_write_caches); |