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
8946b077
Commit
8946b077
authored
Mar 31, 2013
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tcm: switch to ->show_info()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
e88b7bb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
drivers/target/loopback/tcm_loop.c
drivers/target/loopback/tcm_loop.c
+4
-5
No files found.
drivers/target/loopback/tcm_loop.c
View file @
8946b077
...
@@ -79,11 +79,10 @@ static void tcm_loop_release_cmd(struct se_cmd *se_cmd)
...
@@ -79,11 +79,10 @@ static void tcm_loop_release_cmd(struct se_cmd *se_cmd)
kmem_cache_free
(
tcm_loop_cmd_cache
,
tl_cmd
);
kmem_cache_free
(
tcm_loop_cmd_cache
,
tl_cmd
);
}
}
static
int
tcm_loop_proc_info
(
struct
Scsi_Host
*
host
,
char
*
buffer
,
static
int
tcm_loop_show_info
(
struct
seq_file
*
m
,
struct
Scsi_Host
*
host
)
char
**
start
,
off_t
offset
,
int
length
,
int
inout
)
{
{
return
sprintf
(
buffer
,
"tcm_loop_proc_info()
\n
"
);
seq_printf
(
m
,
"tcm_loop_proc_info()
\n
"
);
return
0
;
}
}
static
int
tcm_loop_driver_probe
(
struct
device
*
);
static
int
tcm_loop_driver_probe
(
struct
device
*
);
...
@@ -336,7 +335,7 @@ static int tcm_loop_slave_configure(struct scsi_device *sd)
...
@@ -336,7 +335,7 @@ static int tcm_loop_slave_configure(struct scsi_device *sd)
}
}
static
struct
scsi_host_template
tcm_loop_driver_template
=
{
static
struct
scsi_host_template
tcm_loop_driver_template
=
{
.
proc_info
=
tcm_loop_proc
_info
,
.
show_info
=
tcm_loop_show
_info
,
.
proc_name
=
"tcm_loopback"
,
.
proc_name
=
"tcm_loopback"
,
.
name
=
"TCM_Loopback"
,
.
name
=
"TCM_Loopback"
,
.
queuecommand
=
tcm_loop_queuecommand
,
.
queuecommand
=
tcm_loop_queuecommand
,
...
...
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