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
Kirill Smelkov
linux
Commits
0ba33fac
Commit
0ba33fac
authored
May 12, 2019
by
Theodore Ts'o
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ext4: fix miscellaneous sparse warnings
Signed-off-by:
Theodore Ts'o
<
tytso@mit.edu
>
parent
fbbbbd2f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
fs/ext4/fsmap.c
fs/ext4/fsmap.c
+1
-1
fs/ext4/ioctl.c
fs/ext4/ioctl.c
+1
-1
fs/ext4/super.c
fs/ext4/super.c
+1
-1
No files found.
fs/ext4/fsmap.c
View file @
0ba33fac
...
@@ -626,7 +626,7 @@ int ext4_getfsmap(struct super_block *sb, struct ext4_fsmap_head *head,
...
@@ -626,7 +626,7 @@ int ext4_getfsmap(struct super_block *sb, struct ext4_fsmap_head *head,
{
{
struct
ext4_fsmap
dkeys
[
2
];
/* per-dev keys */
struct
ext4_fsmap
dkeys
[
2
];
/* per-dev keys */
struct
ext4_getfsmap_dev
handlers
[
EXT4_GETFSMAP_DEVS
];
struct
ext4_getfsmap_dev
handlers
[
EXT4_GETFSMAP_DEVS
];
struct
ext4_getfsmap_info
info
=
{
0
};
struct
ext4_getfsmap_info
info
=
{
NULL
};
int
i
;
int
i
;
int
error
=
0
;
int
error
=
0
;
...
...
fs/ext4/ioctl.c
View file @
0ba33fac
...
@@ -608,7 +608,7 @@ static int ext4_getfsmap_format(struct ext4_fsmap *xfm, void *priv)
...
@@ -608,7 +608,7 @@ static int ext4_getfsmap_format(struct ext4_fsmap *xfm, void *priv)
static
int
ext4_ioc_getfsmap
(
struct
super_block
*
sb
,
static
int
ext4_ioc_getfsmap
(
struct
super_block
*
sb
,
struct
fsmap_head
__user
*
arg
)
struct
fsmap_head
__user
*
arg
)
{
{
struct
getfsmap_info
info
=
{
0
};
struct
getfsmap_info
info
=
{
NULL
};
struct
ext4_fsmap_head
xhead
=
{
0
};
struct
ext4_fsmap_head
xhead
=
{
0
};
struct
fsmap_head
head
;
struct
fsmap_head
head
;
bool
aborted
=
false
;
bool
aborted
=
false
;
...
...
fs/ext4/super.c
View file @
0ba33fac
...
@@ -4679,7 +4679,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
...
@@ -4679,7 +4679,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
#ifdef CONFIG_QUOTA
#ifdef CONFIG_QUOTA
for
(
i
=
0
;
i
<
EXT4_MAXQUOTAS
;
i
++
)
for
(
i
=
0
;
i
<
EXT4_MAXQUOTAS
;
i
++
)
kfree
(
sbi
->
s_qf_names
[
i
]
);
kfree
(
get_qf_name
(
sb
,
sbi
,
i
)
);
#endif
#endif
ext4_blkdev_remove
(
sbi
);
ext4_blkdev_remove
(
sbi
);
brelse
(
bh
);
brelse
(
bh
);
...
...
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