git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
slab: convert cpu notifier to return encapsulate errno value
[safe/jmp/linux-2.6]
/
mm
/
slab.c
diff --git
a/mm/slab.c
b/mm/slab.c
index
8270ba3
..
6437d89
100644
(file)
--- a/
mm/slab.c
+++ b/
mm/slab.c
@@
-1321,7
+1321,7
@@
static int __cpuinit cpuup_callback(struct notifier_block *nfb,
mutex_unlock(&cache_chain_mutex);
break;
}
- return
err ? NOTIFY_BAD : NOTIFY_OK
;
+ return
notifier_from_errno(err)
;
}
static struct notifier_block __cpuinitdata cpucache_notifier = {