diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-10-19 15:29:13 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2011-10-19 15:29:13 -0400 |
commit | ffc00e27aa5d343eb71068c185cdbd65871ccdce (patch) | |
tree | a643034e084097d4b41b5c7f9511f5e262133985 /fs/ocfs2/uptodate.c | |
parent | ea1f4502fc939b64807f9ab0eca259321047fe83 (diff) |
cifs: eliminate is_multi_rsp parm to find_cifs_mid
Change find_cifs_mid to only return NULL if a mid could not be found.
If we got part of a multi-part T2 response, then coalesce it and still
return the mid. The caller can determine the T2 receive status from
the flags in the mid.
With this change, there is no need to pass a pointer to "length" as
well so just pass by value. If a mid is found, then we can just mark
it as malformed. If one isn't found, then the value of "length" won't
change anyway.
Reviewed-and-Tested-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/ocfs2/uptodate.c')
0 files changed, 0 insertions, 0 deletions