Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'maint' into next
[tools/e2fsprogs.git]
/
e2fsck
/
pass2.c
diff --git
a/e2fsck/pass2.c
b/e2fsck/pass2.c
index
3c0bf49
..
81a0f4b
100644
(file)
--- a/
e2fsck/pass2.c
+++ b/
e2fsck/pass2.c
@@
-351,9
+351,9
@@
static int check_dot(e2fsck_t ctx,
{
struct ext2_dir_entry *nextdir;
unsigned int rec_len, new_len;
- int status = 0;
- int created = 0;
-
int
problem = 0;
+ int
status = 0;
+ int
created = 0;
+
problem_t
problem = 0;
if (!dirent->inode)
problem = PR_2_MISSING_DOT;
@@
-413,7
+413,7
@@
static int check_dotdot(e2fsck_t ctx,
struct ext2_dir_entry *dirent,
ext2_ino_t ino, struct problem_context *pctx)
{
-
int
problem = 0;
+
problem_t
problem = 0;
unsigned int rec_len;
if (!dirent->inode)
@@
-751,7
+751,7
@@
static int check_dir_block(ext2_filsys fs,
struct check_dir_struct *cd;
char *buf;
e2fsck_t ctx;
-
int
problem;
+
problem_t
problem;
struct ext2_dx_root_info *root;
struct ext2_dx_countlimit *limit;
static dict_t de_dict;
@@
-918,7
+918,7
@@
skip_checksum:
dict_init(&de_dict, DICTCOUNT_T_MAX, dict_de_cmp);
prev = 0;
do {
-
in
t group;
+
dgrp_
t group;
ext2_ino_t first_unused_inode;
unsigned int name_len;
@@
-1361,7
+1361,7
@@
extern int e2fsck_process_bad_inode(e2fsck_t ctx, ext2_ino_t dir,
int not_fixed = 0;
unsigned char *frag, *fsize;
struct problem_context pctx;
-
int
problem = 0;
+
problem_t
problem = 0;
e2fsck_read_inode(ctx, ino, &inode, "process_bad_inode");