diff options
author | Volker Lendecke <vl@samba.org> | 2013-09-10 19:41:32 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2013-09-11 08:27:11 +0200 |
commit | 07948ef6e12ac52ecbb23089495d3760028f019e (patch) | |
tree | 79f3be771688e7d5c61d5368274a281cd34fa486 /source3/modules | |
parent | 6bcfc1a9daad1432c45db816d32ac5076f748e81 (diff) | |
download | samba-07948ef6e12ac52ecbb23089495d3760028f019e.tar.gz samba-07948ef6e12ac52ecbb23089495d3760028f019e.tar.bz2 samba-07948ef6e12ac52ecbb23089495d3760028f019e.zip |
smbd: Add brl_fsp access function
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_full_audit.c | 9 | ||||
-rw-r--r-- | source3/modules/vfs_time_audit.c | 6 |
2 files changed, 9 insertions, 6 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index 549f55e189..37d8aa4503 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -1655,7 +1655,8 @@ static NTSTATUS smb_full_audit_brl_lock_windows(struct vfs_handle_struct *handle blocking_lock, blr); do_log(SMB_VFS_OP_BRL_LOCK_WINDOWS, NT_STATUS_IS_OK(result), handle, - "%s:%llu-%llu. type=%d. blocking=%d", fsp_str_do_log(br_lck->fsp), + "%s:%llu-%llu. type=%d. blocking=%d", + fsp_str_do_log(brl_fsp(br_lck)), plock->start, plock->size, plock->lock_type, blocking_lock); return result; @@ -1672,7 +1673,8 @@ static bool smb_full_audit_brl_unlock_windows(struct vfs_handle_struct *handle, plock); do_log(SMB_VFS_OP_BRL_UNLOCK_WINDOWS, (result == 0), handle, - "%s:%llu-%llu:%d", fsp_str_do_log(br_lck->fsp), plock->start, + "%s:%llu-%llu:%d", fsp_str_do_log(brl_fsp(br_lck)), + plock->start, plock->size, plock->lock_type); return result; @@ -1688,7 +1690,8 @@ static bool smb_full_audit_brl_cancel_windows(struct vfs_handle_struct *handle, result = SMB_VFS_NEXT_BRL_CANCEL_WINDOWS(handle, br_lck, plock, blr); do_log(SMB_VFS_OP_BRL_CANCEL_WINDOWS, (result == 0), handle, - "%s:%llu-%llu:%d", fsp_str_do_log(br_lck->fsp), plock->start, + "%s:%llu-%llu:%d", fsp_str_do_log(brl_fsp(br_lck)), + plock->start, plock->size, plock->lock_type); return result; diff --git a/source3/modules/vfs_time_audit.c b/source3/modules/vfs_time_audit.c index 1b14d650af..98a6151797 100644 --- a/source3/modules/vfs_time_audit.c +++ b/source3/modules/vfs_time_audit.c @@ -1558,7 +1558,7 @@ static NTSTATUS smb_time_audit_brl_lock_windows(struct vfs_handle_struct *handle if (timediff > audit_timeout) { smb_time_audit_log_fsp("brl_lock_windows", timediff, - br_lck->fsp); + brl_fsp(br_lck)); } return result; @@ -1581,7 +1581,7 @@ static bool smb_time_audit_brl_unlock_windows(struct vfs_handle_struct *handle, if (timediff > audit_timeout) { smb_time_audit_log_fsp("brl_unlock_windows", timediff, - br_lck->fsp); + brl_fsp(br_lck)); } return result; @@ -1603,7 +1603,7 @@ static bool smb_time_audit_brl_cancel_windows(struct vfs_handle_struct *handle, if (timediff > audit_timeout) { smb_time_audit_log_fsp("brl_cancel_windows", timediff, - br_lck->fsp); + brl_fsp(br_lck)); } return result; |