style fix (stray space before ';')
This commit is contained in:
@@ -223,7 +223,7 @@ int ext2fs_u32_list_del(ext2_u32_list bb, __u32 blk)
|
||||
if (remloc < 0)
|
||||
return -1;
|
||||
|
||||
for (i = remloc ; i < bb->num-1; i++)
|
||||
for (i = remloc; i < bb->num - 1; i++)
|
||||
bb->list[i] = bb->list[i+1];
|
||||
bb->num--;
|
||||
return 0;
|
||||
|
||||
@@ -343,7 +343,7 @@ errcode_t ext2fs_block_iterate2(ext2_filsys fs,
|
||||
/*
|
||||
* Iterate over normal data blocks
|
||||
*/
|
||||
for (i = 0; i < EXT2_NDIR_BLOCKS ; i++, ctx.bcount++) {
|
||||
for (i = 0; i < EXT2_NDIR_BLOCKS; i++, ctx.bcount++) {
|
||||
if (blocks[i] || (flags & BLOCK_FLAG_APPEND)) {
|
||||
ret |= (*ctx.func)(fs, &blocks[i],
|
||||
ctx.bcount, 0, i, priv_data);
|
||||
|
||||
@@ -228,7 +228,7 @@ errcode_t ext2fs_file_read(ext2_file_t file, void *buf,
|
||||
c = fs->blocksize - start;
|
||||
if (c > wanted)
|
||||
c = wanted;
|
||||
left = EXT2_I_SIZE(&file->inode) - file->pos ;
|
||||
left = EXT2_I_SIZE(&file->inode) - file->pos;
|
||||
if (c > left)
|
||||
c = left;
|
||||
|
||||
|
||||
@@ -273,7 +273,7 @@ errcode_t ext2fs_open2(const char *name, const char *io_options,
|
||||
group_block = fs->super->s_first_data_block;
|
||||
dest = (char *) fs->group_desc;
|
||||
groups_per_block = fs->blocksize / sizeof(struct ext2_group_desc);
|
||||
for (i=0 ; i < fs->desc_blocks; i++) {
|
||||
for (i = 0; i < fs->desc_blocks; i++) {
|
||||
blk = ext2fs_descriptor_block_loc(fs, group_block, i);
|
||||
retval = io_channel_read_blk(fs->io, blk, 1, dest);
|
||||
if (retval)
|
||||
|
||||
Reference in New Issue
Block a user