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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux