lkml.org 
[lkml]   [2008]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2/10 PATCH] inline inline-generic_writepages.patch
Make generic_writepages inlinable in current file.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>

Index: linux-2.6.26-rc7-devel/mm/page-writeback.c
===================================================================
--- linux-2.6.26-rc7-devel.orig/mm/page-writeback.c 2008-06-24 07:28:14.000000000 +0200
+++ linux-2.6.26-rc7-devel/mm/page-writeback.c 2008-06-24 07:37:15.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)
+__always_inline int generic_writepages(struct address_space *mapping,
+ struct writeback_control *wbc)
{
/* deal with chardevs and other special file */
if (!mapping->a_ops->writepage)


\
 
 \ /
  Last update: 2008-06-24 07:59    [W:1.534 / U:2.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site