Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4062e7
)
AOSP: e2fsck: Remove unused variable.
author
David Anderson
<dvander@google.com>
Mon, 16 Jul 2018 21:37:32 +0000
(14:37 -0700)
committer
Theodore Ts'o
<tytso@mit.edu>
Sun, 5 Aug 2018 17:42:18 +0000
(13:42 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Bug: N/A
Test: e2fsck builds
Change-Id: I48e33920d8aa369808fb47143f2a46ecaa03f6c3
From AOSP commit:
4d2e95e15a4df94e556c2bfbf77b7b1d8e43b446
e2fsck/pass1.c
patch
|
blob
|
history
diff --git
a/e2fsck/pass1.c
b/e2fsck/pass1.c
index
461f5fb
..
ce43821
100644
(file)
--- a/
e2fsck/pass1.c
+++ b/
e2fsck/pass1.c
@@
-3444,8
+3444,6
@@
static void check_blocks(e2fsck_t ctx, struct problem_context *pctx,
bad_size = 2;
}
} else {
- e2_blkcnt_t blkpg = ctx->blocks_per_page;
-
size = EXT2_I_SIZE(inode);
if ((pb.last_init_lblock >= 0) &&
/* Do not allow initialized allocated blocks past i_size*/