[patch 2/4] mm: bdi: export bdi_writeout_inc() fix

From: Miklos Szeredi
Date: Wed Mar 19 2008 - 20:20:46 EST


From: Miklos Szeredi <mszeredi@xxxxxxx>

Make bdi_writeout_inc() GPL only at the request of Peter Zijlstra.

Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxx>
---
mm/page-writeback.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux/mm/page-writeback.c
===================================================================
--- linux.orig/mm/page-writeback.c 2008-03-18 19:38:45.000000000 +0100
+++ linux/mm/page-writeback.c 2008-03-18 19:39:51.000000000 +0100
@@ -176,7 +176,7 @@ void bdi_writeout_inc(struct backing_dev
__bdi_writeout_inc(bdi);
local_irq_restore(flags);
}
-EXPORT_SYMBOL(bdi_writeout_inc);
+EXPORT_SYMBOL_GPL(bdi_writeout_inc);

static inline void task_dirty_inc(struct task_struct *tsk)
{

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/