From b557f34c80c9326d9aa887366501366bf3956ce1 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 26 Sep 2012 09:08:17 +0200 Subject: [PATCH] s3:smbd: fix brace placements in validate_my_share_entries() for readability according to coding guidelines Signed-off-by: Michael Adam Signed-off-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Wed Oct 17 14:37:58 CEST 2012 on sn-devel-104 --- source3/smbd/open.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index efabe4a480e..7eb9f321f81 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -1012,7 +1012,8 @@ static void validate_my_share_entries(struct smbd_server_connection *sconn, } if (is_deferred_open_entry(share_entry) && - !open_was_deferred(sconn, share_entry->op_mid)) { + !open_was_deferred(sconn, share_entry->op_mid)) + { char *str = talloc_asprintf(talloc_tos(), "Got a deferred entry without a request: " "PANIC: %s\n", @@ -1038,7 +1039,8 @@ static void validate_my_share_entries(struct smbd_server_connection *sconn, } if ((share_entry->op_type == NO_OPLOCK) && - (fsp->oplock_type == FAKE_LEVEL_II_OPLOCK)) { + (fsp->oplock_type == FAKE_LEVEL_II_OPLOCK)) + { /* Someone has already written to it, but I haven't yet * noticed */ return; -- 2.11.4.GIT