s3:smbd:smb2: simplify smbd_smb2_request_validate() and smbd_smb2_request_dispatch()
commitc4d803bcc7baf6282fdb81a147e310ad8713e8f1
authorMichael Adam <obnox@samba.org>
Fri, 21 Sep 2012 19:43:36 +0000 (21 21:43 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 28 Sep 2012 07:23:07 +0000 (28 09:23 +0200)
tree138eb5fe8e8276cbbf1bd16d76b398f86ce650c6
parent021dd55db013b552859afaf3f5a59fb2edb9f805
s3:smbd:smb2: simplify smbd_smb2_request_validate() and smbd_smb2_request_dispatch()

removes unnneccary checks/assignments for compound_related and next_status
and duplicate setting of error status.

And remove (now) unused next_status from struct smbd_smb2_request.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 1ae6f9c62629f8513bbe93a56775b3c64ff06832)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/globals.h
source3/smbd/smb2_server.c