[PATCH] ext3 -nobh option causes oops
authorBadari Pulavarty <pbadari@us.ibm.com>
Sun, 30 Jul 2006 10:04:14 +0000 (03:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:44 +0000 (13:28 -0700)
commit0e31f51d8177320d61ec5786ca4aafa7b7a749b4
treea076261c90d757d7d2740c1ba4d219782914ea4d
parent51d8c5edd3b166fcc51aba84d78761d578400a7c
[PATCH] ext3 -nobh option causes oops

For files other than IFREG, nobh option doesn't make sense.  Modifications
to them are journalled and needs buffer heads to do that.  Without this
patch, we get kernel oops in page_buffers().

Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext3/inode.c