]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: clean up sync_mid_result
authorJeff Layton <jlayton@redhat.com>
Tue, 11 Jan 2011 12:24:02 +0000 (07:24 -0500)
committerSteve French <sfrench@us.ibm.com>
Thu, 20 Jan 2011 17:41:02 +0000 (17:41 +0000)
commit030f6ef13a112e6982715e5976c5241822af58f0
treec6e8c0ad9a722602d55511d11e8353f67bfb80f6
parent7a357d4b158713b793a2d5d9cb2fde5dface60cb
cifs: clean up sync_mid_result

Make it use a switch statement based on the value of the midStatus. If
the resp_buf is set, then MID_RESPONSE_RECEIVED is too.

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