[PATCH] Remove unused argument
Ralph Boehme
rb at sernet.de
Mon Oct 12 11:05:54 UTC 2015
On Mon, Oct 12, 2015 at 12:57:54PM +0200, Ralph Boehme wrote:
> Hi
>
> remove an unused argument in disposition_to_open_flags().
>
> Please review & push if ok. Thanks!
sorry, ENOPATCH. Here it is.
-Ralph
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de
-------------- next part --------------
From 81d50b522394129cc3de489fa6175e93f3ddf5ff Mon Sep 17 00:00:00 2001
From: Ralph Boehme <slow at samba.org>
Date: Wed, 7 Oct 2015 14:28:32 +0200
Subject: [PATCH] s3:smbd: remove unused arg oplock_request
The use of oplock_request in calculate_open_access_flags() was removed
in 196da5925.
Signed-off-by: Ralph Boehme <slow at samba.org>
---
source3/smbd/open.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 162e834..301082c 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2354,7 +2354,6 @@ static int disposition_to_open_flags(uint32_t create_disposition)
}
static int calculate_open_access_flags(uint32_t access_mask,
- int oplock_request,
uint32_t private_flags)
{
bool need_write, need_read;
--
2.1.0
More information about the samba-technical
mailing list