Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
647b3d00
Commit
647b3d00
authored
Aug 28, 2007
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] lose unused arguments in dm ioctl callbacks
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
1bddd9e6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
7 deletions
+4
-7
drivers/md/dm-linear.c
drivers/md/dm-linear.c
+1
-2
drivers/md/dm-mpath.c
drivers/md/dm-mpath.c
+1
-2
drivers/md/dm.c
drivers/md/dm.c
+1
-1
include/linux/device-mapper.h
include/linux/device-mapper.h
+1
-2
No files found.
drivers/md/dm-linear.c
View file @
647b3d00
...
...
@@ -110,8 +110,7 @@ static int linear_status(struct dm_target *ti, status_type_t type,
return
0
;
}
static
int
linear_ioctl
(
struct
dm_target
*
ti
,
struct
inode
*
inode
,
struct
file
*
filp
,
unsigned
int
cmd
,
static
int
linear_ioctl
(
struct
dm_target
*
ti
,
unsigned
int
cmd
,
unsigned
long
arg
)
{
struct
linear_c
*
lc
=
(
struct
linear_c
*
)
ti
->
private
;
...
...
drivers/md/dm-mpath.c
View file @
647b3d00
...
...
@@ -1395,8 +1395,7 @@ error:
return
-
EINVAL
;
}
static
int
multipath_ioctl
(
struct
dm_target
*
ti
,
struct
inode
*
inode
,
struct
file
*
filp
,
unsigned
int
cmd
,
static
int
multipath_ioctl
(
struct
dm_target
*
ti
,
unsigned
int
cmd
,
unsigned
long
arg
)
{
struct
multipath
*
m
=
(
struct
multipath
*
)
ti
->
private
;
...
...
drivers/md/dm.c
View file @
647b3d00
...
...
@@ -345,7 +345,7 @@ static int dm_blk_ioctl(struct inode *inode, struct file *file,
}
if
(
tgt
->
type
->
ioctl
)
r
=
tgt
->
type
->
ioctl
(
tgt
,
inode
,
file
,
cmd
,
arg
);
r
=
tgt
->
type
->
ioctl
(
tgt
,
cmd
,
arg
);
out:
dm_table_put
(
map
);
...
...
include/linux/device-mapper.h
View file @
647b3d00
...
...
@@ -69,8 +69,7 @@ typedef int (*dm_status_fn) (struct dm_target *ti, status_type_t status_type,
typedef
int
(
*
dm_message_fn
)
(
struct
dm_target
*
ti
,
unsigned
argc
,
char
**
argv
);
typedef
int
(
*
dm_ioctl_fn
)
(
struct
dm_target
*
ti
,
struct
inode
*
inode
,
struct
file
*
filp
,
unsigned
int
cmd
,
typedef
int
(
*
dm_ioctl_fn
)
(
struct
dm_target
*
ti
,
unsigned
int
cmd
,
unsigned
long
arg
);
typedef
int
(
*
dm_merge_fn
)
(
struct
dm_target
*
ti
,
struct
bvec_merge_data
*
bvm
,
...
...
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