]> err.no Git - linux-2.6/commit
[PATCH] ramfs breaks without CONFIG_BLOCK
authorDimitri Gorokhovik <dimitri.gorokhovik@free.fr>
Sat, 30 Dec 2006 00:48:24 +0000 (16:48 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 30 Dec 2006 18:56:42 +0000 (10:56 -0800)
commit131612dfe7923bd0ce5f82d6ed8303a7ef96e574
tree37e3988d2039f413102f23fce08203c8aca600bc
parenta3f99f8ba8cbd2d4e231b767b3d6236a555da38c
[PATCH] ramfs breaks without CONFIG_BLOCK

ramfs doesn't provide the .set_dirty_page a_op, and when the BLOCK layer is
not configured in, 'set_page_dirty' makes a call via a NULL pointer.

Signed-off-by: Dimitri Gorokhovik <dimitri.gorokhovik@free.fr>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ramfs/file-mmu.c
fs/ramfs/file-nommu.c