diff options
Diffstat (limited to 'fs/affs')
-rw-r--r-- | fs/affs/super.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/affs/super.c b/fs/affs/super.c index 51f1a95bff73..a67dc72d87b4 100644 --- a/fs/affs/super.c +++ b/fs/affs/super.c | |||
@@ -308,7 +308,6 @@ static int affs_fill_super(struct super_block *sb, void *data, int silent) | |||
308 | u32 chksum; | 308 | u32 chksum; |
309 | int num_bm; | 309 | int num_bm; |
310 | int i, j; | 310 | int i, j; |
311 | s32 key; | ||
312 | kuid_t uid; | 311 | kuid_t uid; |
313 | kgid_t gid; | 312 | kgid_t gid; |
314 | int reserved; | 313 | int reserved; |
@@ -367,7 +366,7 @@ static int affs_fill_super(struct super_block *sb, void *data, int silent) | |||
367 | i = j = blocksize; | 366 | i = j = blocksize; |
368 | size = size / (blocksize / 512); | 367 | size = size / (blocksize / 512); |
369 | } | 368 | } |
370 | for (blocksize = i, key = 0; blocksize <= j; blocksize <<= 1, size >>= 1) { | 369 | for (blocksize = i; blocksize <= j; blocksize <<= 1, size >>= 1) { |
371 | sbi->s_root_block = root_block; | 370 | sbi->s_root_block = root_block; |
372 | if (root_block < 0) | 371 | if (root_block < 0) |
373 | sbi->s_root_block = (reserved + size - 1) / 2; | 372 | sbi->s_root_block = (reserved + size - 1) / 2; |
@@ -399,7 +398,6 @@ static int affs_fill_super(struct super_block *sb, void *data, int silent) | |||
399 | be32_to_cpu(AFFS_ROOT_TAIL(sb, root_bh)->stype) == ST_ROOT) { | 398 | be32_to_cpu(AFFS_ROOT_TAIL(sb, root_bh)->stype) == ST_ROOT) { |
400 | sbi->s_hashsize = blocksize / 4 - 56; | 399 | sbi->s_hashsize = blocksize / 4 - 56; |
401 | sbi->s_root_block += num_bm; | 400 | sbi->s_root_block += num_bm; |
402 | key = 1; | ||
403 | goto got_root; | 401 | goto got_root; |
404 | } | 402 | } |
405 | affs_brelse(root_bh); | 403 | affs_brelse(root_bh); |