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
1e2332b2
Commit
1e2332b2
authored
Feb 21, 2003
by
Christoph Hellwig
Committed by
James Bottomley
Feb 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix that devfs mess
parent
20284391
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
drivers/scsi/scsi.c
drivers/scsi/scsi.c
+2
-6
No files found.
drivers/scsi/scsi.c
View file @
1e2332b2
...
...
@@ -1489,24 +1489,20 @@ static int __init init_scsi(void)
error
=
scsi_init_procfs
();
if
(
error
)
goto
cleanup_queue
;
error
=
-
ENOMEM
;
if
(
!
devfs_mk_dir
(
NULL
,
"scsi"
,
NULL
))
goto
cleanup_procfs
;
error
=
scsi_dev_info_list_init
(
scsi_dev_flags
);
if
(
error
)
goto
cleanup_
dev
fs
;
goto
cleanup_
proc
fs
;
error
=
scsi_sysfs_register
();
if
(
error
)
goto
cleanup_devlist
;
scsi_host_init
();
devfs_mk_dir
(
NULL
,
"scsi"
,
NULL
);
open_softirq
(
SCSI_SOFTIRQ
,
scsi_softirq
,
NULL
);
return
0
;
cleanup_devlist:
scsi_dev_info_list_delete
();
cleanup_devfs:
devfs_remove
(
"scsi"
);
cleanup_procfs:
scsi_exit_procfs
();
cleanup_queue:
...
...
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