Make generic_writepages inlinable in current file. Signed-off-by: Mikulas Patocka Index: linux-2.6.26-rc5-devel/mm/page-writeback.c =================================================================== --- linux-2.6.26-rc5-devel.orig/mm/page-writeback.c 2008-06-21 01:55:05.000000000 +0200 +++ linux-2.6.26-rc5-devel/mm/page-writeback.c 2008-06-21 01:59:23.000000000 +0200 @@ -981,8 +981,8 @@ * This is a library function, which implements the writepages() * address_space_operation. */ -int generic_writepages(struct address_space *mapping, - struct writeback_control *wbc) +inline int generic_writepages(struct address_space *mapping, + struct writeback_control *wbc) { /* deal with chardevs and other special file */ if (!mapping->a_ops->writepage)