]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] ramfs breaks without CONFIG_BLOCK
authorDimitri Gorokhovik <dimitri.gorokhovik@free.fr>
Sat, 30 Dec 2006 00:48:24 +0000 (16:48 -0800)
committerChris Wright <chrisw@sous-sol.org>
Wed, 10 Jan 2007 19:05:20 +0000 (11:05 -0800)
commitd0b18e5c89b42697dd2d5af55f4efc430b0586b1
tree83cd73d52221311b5d60c50324686537a7701ab1
parentabf56f5ea98c71722511e37d321982013123dbbf
[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: Chris Wright <chrisw@sous-sol.org>
fs/ramfs/file-mmu.c
fs/ramfs/file-nommu.c