projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1ed6a3
)
[GFS2] don't panic needlessly
author
Alexey Dobriyan
<adobriyan@gmail.com>
Fri, 27 Oct 2006 23:03:48 +0000
(
03:03
+0400)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 6 Nov 2006 13:58:52 +0000
(08:58 -0500)
First, SLAB_PANIC is unjustified. Second, all error propagating and backing out
is in place.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/main.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/main.c
b/fs/gfs2/main.c
index 21508a13bb78d75312d2f018fa1b0a20163425b6..9889c1eacec186efe383f9c9801563123bb0511d 100644
(file)
--- a/
fs/gfs2/main.c
+++ b/
fs/gfs2/main.c
@@
-84,8
+84,8
@@
static int __init init_gfs2_fs(void)
gfs2_inode_cachep = kmem_cache_create("gfs2_inode",
sizeof(struct gfs2_inode),
- 0,
(
SLAB_RECLAIM_ACCOUNT|
-
SLAB_PANIC|SLAB_MEM_SPREAD)
,
+ 0,
SLAB_RECLAIM_ACCOUNT|
+
SLAB_MEM_SPREAD
,
gfs2_init_inode_once, NULL);
if (!gfs2_inode_cachep)
goto fail;