s3:smbd:smb2: simplify smbd_smb2_request_validate() and smbd_smb2_request_dispatch()
authorMichael Adam <obnox@samba.org>
Fri, 21 Sep 2012 19:43:36 +0000 (21:43 +0200)
committerMichael Adam <obnox@samba.org>
Sat, 22 Sep 2012 08:18:58 +0000 (10:18 +0200)
commit1ae6f9c62629f8513bbe93a56775b3c64ff06832
tree06c13a1ba858b467a669491dd52d34757813580c
parent27d38b5c27bd96d5124c175d946718bf0836b8f4
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>
source3/smbd/globals.h
source3/smbd/smb2_server.c