[PATCH] fs/smbfs/request.c: turn NULL dereference into BUG()
authorAdrian Bunk <bunk@stusta.de>
Mon, 7 Nov 2005 08:59:23 +0000 (00:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:36 +0000 (07:53 -0800)
commitccb6e363a68144cdfdaa6d964d63d620c8ac9a9b
treec7a412727aa338fdfbf9f8ae6c46205852eeb7f0
parent6f08b72cdd4b99a190c4e1fcddd63b401e5b572d
[PATCH] fs/smbfs/request.c: turn NULL dereference into BUG()

In a case documented as

  We should never be called with any of these states

BUG() in a case that would later result in a NULL pointer dereference.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/smbfs/request.c