]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit74dd92a881b62014ca3c754db6868e1f142f2fb9
treec6e8c0ad9a722602d55511d11e8353f67bfb80f6
parentdad255b182363db1d1124458cd3fb0a4deac0d0f
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