[PATCH] Change constant zero to NOTIFY_DONE in ratelimit_handler()

From: Paul E. McKenney
Date: Mon Jan 29 2007 - 22:01:17 EST


Hello!

Change a hard-coded constant 0 to the symbolic equivalent NOTIFY_DONE
in the ratelimit_handler() CPU notifier handler function.

Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
---

page-writeback.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -urpNa -X dontdiff linux-2.6.20-rc6/mm/page-writeback.c linux-2.6.20-rc6-ratelimit_handler-fix/mm/page-writeback.c
--- linux-2.6.20-rc6/mm/page-writeback.c 2007-01-29 16:34:16.000000000 -0800
+++ linux-2.6.20-rc6-ratelimit_handler-fix/mm/page-writeback.c 2007-01-29 18:04:16.000000000 -0800
@@ -517,7 +517,7 @@ static int __cpuinit
ratelimit_handler(struct notifier_block *self, unsigned long u, void *v)
{
writeback_set_ratelimit();
- return 0;
+ return NOTIFY_DONE;
}

static struct notifier_block __cpuinitdata ratelimit_nb = {
-
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/