[CIFS] In SendReceive, move consistency check out of the mutexed region
authorVolker Lendecke <vl@samba.org>
Mon, 8 Dec 2008 20:50:24 +0000 (20:50 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 26 Dec 2008 02:29:11 +0000 (02:29 +0000)
commit6d9c6d543165d1d492602c1371cb019040093584
tree3d6dd213995db201d84dfa1f1e5410edef9dab13
parent00e485b0198ea4f509341373f1d9adb0a5977a2f
[CIFS] In SendReceive, move consistency check out of the mutexed region

inbuf->smb_buf_length does not change in in wait_for_free_request() or in
allocate_mid(), so we can check it early.

Signed-off-by: Volker Lendecke <vl@samba.org>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/transport.c