cifs: move mid finding into separate routine
authorJeff Layton <jlayton@redhat.com>
Wed, 19 Oct 2011 19:29:05 +0000 (15:29 -0400)
committerJeff Layton <jlayton@redhat.com>
Wed, 19 Oct 2011 19:29:05 +0000 (15:29 -0400)
Begin breaking up find_cifs_mid into smaller pieces. The parts that
coalesce T2 responses don't really need to be done under the
GlobalMid_lock anyway. Create a new function that just finds the
mid on the list, and then later takes it off the list if the entire
response has been received.

Reviewed-and-Tested-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Jeff Layton <jlayton@redhat.com>

No differences found