diff options
author | Dave Richards <dave.richards@isilon.com> | 2009-03-13 14:15:28 -0700 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-03-13 14:16:55 -0700 |
commit | 1fcc11ff25f1c3e7586b13b24e5d0eec4ccfaedc (patch) | |
tree | 48e52776085f9db96fce7e62f695aef5c6d774da /source3/include/smbprofile.h | |
parent | 1355dc2fd3a10c54fc3534409b78972d59d59b30 (diff) | |
download | samba-1fcc11ff25f1c3e7586b13b24e5d0eec4ccfaedc.tar.gz samba-1fcc11ff25f1c3e7586b13b24e5d0eec4ccfaedc.tar.bz2 samba-1fcc11ff25f1c3e7586b13b24e5d0eec4ccfaedc.zip |
s3: Add strict lock/unlock calls to the vfs layer to replace is_locked
Diffstat (limited to 'source3/include/smbprofile.h')
-rw-r--r-- | source3/include/smbprofile.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/smbprofile.h b/source3/include/smbprofile.h index f9a0436546..5b52bad8c1 100644 --- a/source3/include/smbprofile.h +++ b/source3/include/smbprofile.h @@ -243,6 +243,14 @@ enum profile_stats_values #define syscall_brl_cancel_count __profile_stats_value(PR_VALUE_SYSCALL_BRL_CANCEL, count) #define syscall_brl_cancel_time __profile_stats_value(PR_VALUE_SYSCALL_BRL_CANCEL, time) + PR_VALUE_SYSCALL_STRICT_LOCK, +#define syscall_strict_lock_count __profile_stats_value(PR_VALUE_SYSCALL_STRICT_LOCK, count) +#define syscall_strict_lock_time __profile_stats_value(PR_VALUE_SYSCALL_STRICT_LOCK, time) + + PR_VALUE_SYSCALL_STRICT_UNLOCK, +#define syscall_strict_unlock_count __profile_stats_value(PR_VALUE_SYSCALL_STRICT_UNLOCK, count) +#define syscall_strict_unlock_time __profile_stats_value(PR_VALUE_SYSCALL_STRICT_UNLOCK, time) + /* counters for individual SMB types */ PR_VALUE_SMBMKDIR, #define SMBmkdir_count __profile_stats_value(PR_VALUE_SMBMKDIR, count) |