[PATCH] CIFS: fix cifs_user_read oops when null SMB response on forcedirectio mount
authorSteve French <smfrench@austin.rr.com>
Wed, 15 Feb 2006 04:30:52 +0000 (22:30 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 15 Feb 2006 03:46:25 +0000 (19:46 -0800)
commit93544cc6486bea12e127ed58ca33477bb6ceafe6
tree94eda2f741603fbf350bb8849b3291920d991d52
parent10ee39fe3ff618d274e1cd0f6abbc2917b736bfd
[PATCH] CIFS: fix cifs_user_read oops when null SMB response on forcedirectio mount

This patch fixes an oops reported by Adrian Bunk in cifs_user_read when a null
read response is returned on a forcedirectio mount.

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/cifs/file.c