From 52664f62ba84719a9ea6eb8f9c01f1f3a9bd1b24 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 19 Jun 2008 18:46:57 +0200 Subject: Remove current_user references from trans2.c This involved replacing the CHECK_NTQUOTA_HANDLE_OK macro by a function. (This used to be commit 5595cdf837edb82db69a3e57bcf3108be7feeeb8) --- source3/include/ntquotas.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source3/include/ntquotas.h') diff --git a/source3/include/ntquotas.h b/source3/include/ntquotas.h index 5b92b666c2..ed503b3854 100644 --- a/source3/include/ntquotas.h +++ b/source3/include/ntquotas.h @@ -88,9 +88,4 @@ typedef struct _SMB_NTQUOTA_HANDLE { SMB_NTQUOTA_LIST *tmp_list; } SMB_NTQUOTA_HANDLE; -#define CHECK_NTQUOTA_HANDLE_OK(fsp,conn) (FNUM_OK(fsp,conn) &&\ - (fsp)->fake_file_handle &&\ - ((fsp)->fake_file_handle->type == FAKE_FILE_TYPE_QUOTA) &&\ - (fsp)->fake_file_handle->private_data) - #endif /*_NTQUOTAS_H */ -- cgit