Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4f527e6a
Commit
4f527e6a
authored
May 24, 2004
by
Andrew Morton
Committed by
Linus Torvalds
May 24, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] use SLAB_PANIC in ll_rw_blk.c
parent
a5d436c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
drivers/block/ll_rw_blk.c
drivers/block/ll_rw_blk.c
+3
-9
No files found.
drivers/block/ll_rw_blk.c
View file @
4f527e6a
...
...
@@ -2824,19 +2824,13 @@ int __init blk_dev_init(void)
panic
(
"Failed to create kblockd
\n
"
);
request_cachep
=
kmem_cache_create
(
"blkdev_requests"
,
sizeof
(
struct
request
),
0
,
0
,
NULL
,
NULL
);
if
(
!
request_cachep
)
panic
(
"Can't create request pool slab cache
\n
"
);
sizeof
(
struct
request
),
0
,
SLAB_PANIC
,
NULL
,
NULL
);
requestq_cachep
=
kmem_cache_create
(
"blkdev_queue"
,
sizeof
(
request_queue_t
),
0
,
0
,
NULL
,
NULL
);
if
(
!
requestq_cachep
)
panic
(
"Can't create request queue slab cache
\n
"
);
sizeof
(
request_queue_t
),
0
,
SLAB_PANIC
,
NULL
,
NULL
);
iocontext_cachep
=
kmem_cache_create
(
"blkdev_ioc"
,
sizeof
(
struct
io_context
),
0
,
0
,
NULL
,
NULL
);
if
(
!
iocontext_cachep
)
panic
(
"Can't create io context slab cache
\n
"
);
sizeof
(
struct
io_context
),
0
,
SLAB_PANIC
,
NULL
,
NULL
);
blk_max_low_pfn
=
max_low_pfn
;
blk_max_pfn
=
max_pfn
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment