summaryrefslogtreecommitdiff
path: root/fs/ocfs2/locks.c
diff options
context:
space:
mode:
authorPavel Shilovsky <piastryyy@gmail.com>2011-08-01 09:19:41 (GMT)
committerSteve French <sfrench@us.ibm.com>2011-08-01 12:49:34 (GMT)
commite7015fb1c508fe9b8c97707755ce08f5ace0afb9 (patch)
tree7c084839f5e163c9099c8c4f88422f97a048748e /fs/ocfs2/locks.c
parent3d9c2472a53ee1d26de9803899037aeeb44ccef1 (diff)
downloadlinux-fsl-qoriq-e7015fb1c508fe9b8c97707755ce08f5ace0afb9.tar.xz
CIFS: Simplify socket reading in demultiplex thread
Move reading to separate function and remove csocket variable. Also change semantic in a little: goto incomplete_rcv only when we get -EAGAIN (or a familiar error) while reading rfc1002 header. In this case we don't check for echo timeout when we don't get whole header at once, as it was before. Reviewed-and-Tested-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/ocfs2/locks.c')
0 files changed, 0 insertions, 0 deletions