diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-09-27 14:06:06 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-09-27 14:06:06 +0000 |
commit | bb04506dc8bfdc92511b1cc0872e946ebe1ac087 (patch) | |
tree | 77bc1bff460002de2e64759208b90dff0a6e313b /e2fsprogs/old_e2fsprogs/e2fsck.c | |
parent | d6855d1b5043089fc606f7e62679babb68c7cbb4 (diff) | |
download | busybox-w32-bb04506dc8bfdc92511b1cc0872e946ebe1ac087.tar.gz busybox-w32-bb04506dc8bfdc92511b1cc0872e946ebe1ac087.tar.bz2 busybox-w32-bb04506dc8bfdc92511b1cc0872e946ebe1ac087.zip |
more style fixes, no code changes
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/e2fsck.c')
-rw-r--r-- | e2fsprogs/old_e2fsprogs/e2fsck.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/e2fsprogs/old_e2fsprogs/e2fsck.c b/e2fsprogs/old_e2fsprogs/e2fsck.c index 7cb1227db..61a30f487 100644 --- a/e2fsprogs/old_e2fsprogs/e2fsck.c +++ b/e2fsprogs/old_e2fsprogs/e2fsck.c | |||
@@ -192,10 +192,10 @@ struct buffer_head { | |||
192 | #define K_DEV_FS 1 | 192 | #define K_DEV_FS 1 |
193 | #define K_DEV_JOURNAL 2 | 193 | #define K_DEV_JOURNAL 2 |
194 | 194 | ||
195 | #define lock_buffer(bh) do {} while(0) | 195 | #define lock_buffer(bh) do {} while (0) |
196 | #define unlock_buffer(bh) do {} while(0) | 196 | #define unlock_buffer(bh) do {} while (0) |
197 | #define buffer_req(bh) 1 | 197 | #define buffer_req(bh) 1 |
198 | #define do_readahead(journal, start) do {} while(0) | 198 | #define do_readahead(journal, start) do {} while (0) |
199 | 199 | ||
200 | static e2fsck_t e2fsck_global_ctx; /* Try your very best not to use this! */ | 200 | static e2fsck_t e2fsck_global_ctx; /* Try your very best not to use this! */ |
201 | 201 | ||
@@ -10014,7 +10014,7 @@ static int do_one_pass(journal_t *journal, | |||
10014 | * all of the sequence number checks. What are we going | 10014 | * all of the sequence number checks. What are we going |
10015 | * to do with it? That depends on the pass... */ | 10015 | * to do with it? That depends on the pass... */ |
10016 | 10016 | ||
10017 | switch(blocktype) { | 10017 | switch (blocktype) { |
10018 | case JFS_DESCRIPTOR_BLOCK: | 10018 | case JFS_DESCRIPTOR_BLOCK: |
10019 | /* If it is a valid descriptor block, replay it | 10019 | /* If it is a valid descriptor block, replay it |
10020 | * in pass REPLAY; otherwise, just skip over the | 10020 | * in pass REPLAY; otherwise, just skip over the |
@@ -11158,7 +11158,7 @@ int journal_init_revoke(journal_t *journal, int hash_size) | |||
11158 | 11158 | ||
11159 | shift = 0; | 11159 | shift = 0; |
11160 | tmp = hash_size; | 11160 | tmp = hash_size; |
11161 | while((tmp >>= 1UL) != 0UL) | 11161 | while ((tmp >>= 1UL) != 0UL) |
11162 | shift++; | 11162 | shift++; |
11163 | journal->j_revoke->hash_shift = shift; | 11163 | journal->j_revoke->hash_shift = shift; |
11164 | 11164 | ||
@@ -12251,7 +12251,7 @@ static int read_a_char(void) | |||
12251 | int r; | 12251 | int r; |
12252 | int fail = 0; | 12252 | int fail = 0; |
12253 | 12253 | ||
12254 | while(1) { | 12254 | while (1) { |
12255 | if (e2fsck_global_ctx && | 12255 | if (e2fsck_global_ctx && |
12256 | (e2fsck_global_ctx->flags & E2F_FLAG_CANCEL)) { | 12256 | (e2fsck_global_ctx->flags & E2F_FLAG_CANCEL)) { |
12257 | return 3; | 12257 | return 3; |