projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel/: convert cpu notifier to return encapsulate errno value
[linux-2.6-block.git]
/
kernel
/
relay.c
diff --git
a/kernel/relay.c
b/kernel/relay.c
index 4268287148c17c34543194ce9ab987d83ee65410..c7cf397fb92958bbcbd2772e13a8d4a4d9c00b6d 100644
(file)
--- a/
kernel/relay.c
+++ b/
kernel/relay.c
@@
-539,7
+539,7
@@
static int __cpuinit relay_hotcpu_callback(struct notifier_block *nb,
"relay_hotcpu_callback: cpu %d buffer "
"creation failed\n", hotcpu);
mutex_unlock(&relay_channels_mutex);
- return
NOTIFY_BAD
;
+ return
notifier_from_errno(-ENOMEM)
;
}
}
mutex_unlock(&relay_channels_mutex);