Skip to content

Commit

Permalink
[PATCH] Change constant zero to NOTIFY_DONE in ratelimit_handler()
Browse files Browse the repository at this point in the history
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]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
paulmck authored and Linus Torvalds committed Feb 11, 2007
1 parent 656dad3 commit aa0f030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/page-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,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 = {
Expand Down

0 comments on commit aa0f030

Please sign in to comment.