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
18017479
Commit
18017479
authored
Sep 30, 2016
by
Eric Engestrom
Committed by
Theodore Ts'o
Sep 30, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ext4: remove unused variable
Signed-off-by:
Eric Engestrom
<
eric.engestrom@imgtec.com
>
parent
3c816ded
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
fs/ext4/dir.c
fs/ext4/dir.c
+1
-2
fs/ext4/page-io.c
fs/ext4/page-io.c
+1
-3
No files found.
fs/ext4/dir.c
View file @
18017479
...
...
@@ -628,7 +628,7 @@ int ext4_check_all_de(struct inode *dir, struct buffer_head *bh, void *buf,
int
buf_size
)
{
struct
ext4_dir_entry_2
*
de
;
int
nlen
,
rlen
;
int
rlen
;
unsigned
int
offset
=
0
;
char
*
top
;
...
...
@@ -638,7 +638,6 @@ int ext4_check_all_de(struct inode *dir, struct buffer_head *bh, void *buf,
if
(
ext4_check_dir_entry
(
dir
,
NULL
,
de
,
bh
,
buf
,
buf_size
,
offset
))
return
-
EFSCORRUPTED
;
nlen
=
EXT4_DIR_REC_LEN
(
de
->
name_len
);
rlen
=
ext4_rec_len_from_disk
(
de
->
rec_len
,
buf_size
);
de
=
(
struct
ext4_dir_entry_2
*
)((
char
*
)
de
+
rlen
);
offset
+=
rlen
;
...
...
fs/ext4/page-io.c
View file @
18017479
...
...
@@ -405,14 +405,12 @@ int ext4_bio_write_page(struct ext4_io_submit *io,
{
struct
page
*
data_page
=
NULL
;
struct
inode
*
inode
=
page
->
mapping
->
host
;
unsigned
block_start
,
blocksize
;
unsigned
block_start
;
struct
buffer_head
*
bh
,
*
head
;
int
ret
=
0
;
int
nr_submitted
=
0
;
int
nr_to_submit
=
0
;
blocksize
=
1
<<
inode
->
i_blkbits
;
BUG_ON
(
!
PageLocked
(
page
));
BUG_ON
(
PageWriteback
(
page
));
...
...
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