git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patch-2_6_7-vs1_9_1_12
[linux-2.6.git]
/
fs
/
dnotify.c
diff --git
a/fs/dnotify.c
b/fs/dnotify.c
index
38c62fe
..
daee2ed
100644
(file)
--- a/
fs/dnotify.c
+++ b/
fs/dnotify.c
@@
-173,9
+173,7
@@
EXPORT_SYMBOL_GPL(dnotify_parent);
static int __init dnotify_init(void)
{
dn_cache = kmem_cache_create("dnotify_cache",
static int __init dnotify_init(void)
{
dn_cache = kmem_cache_create("dnotify_cache",
- sizeof(struct dnotify_struct), 0, 0, NULL, NULL);
- if (!dn_cache)
- panic("cannot create dnotify slab cache");
+ sizeof(struct dnotify_struct), 0, SLAB_PANIC, NULL, NULL);
return 0;
}
return 0;
}