just whitespace

This commit is contained in:
Tim Riker
2006-01-25 00:08:53 +00:00
parent f64ff682a3
commit c1ef7bdd8d
254 changed files with 2002 additions and 2002 deletions

View File

@@ -1,11 +1,11 @@
/*
* feature.c --- convert between features and strings
*
*
* Copyright (C) 1999 Theodore Ts'o <tytso@mit.edu>
*
*
* This file can be redistributed under the terms of the GNU Library General
* Public License
*
*
*/
#include <stdio.h>

View File

@@ -33,11 +33,11 @@
#define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
#endif
/*
/*
To do fsetversion: unsigned long *ptr_version must be set to NULL.
and unsigned long version must be set to a value
and unsigned long version must be set to a value
To do fgetversion: unsigned long *ptr_version must NOT be set to NULL
and unsigned long version is ignored.
and unsigned long version is ignored.
TITO.
*/

View File

@@ -1,11 +1,11 @@
/*
* feature.c --- convert between features and strings
*
*
* Copyright (C) 1999 Theodore Ts'o <tytso@mit.edu>
*
*
* This file can be redistributed under the terms of the GNU Library General
* Public License
*
*
*/
#include <stdio.h>

View File

@@ -6,7 +6,7 @@
* Universite Pierre et Marie Curie (Paris VI)
*
* Copyright (C) 1995, 1996, 1997 Theodore Ts'o <tytso@mit.edu>
*
*
* This file can be redistributed under the terms of the GNU Library General
* Public License
*/
@@ -190,11 +190,11 @@ void list_super2(struct ext2_super_block * sb, FILE *f)
"Block size: %u\n"
"Fragment size: %u\n",
str, sb->s_inodes_count, sb->s_blocks_count, sb->s_r_blocks_count,
sb->s_free_blocks_count, sb->s_free_inodes_count,
sb->s_free_blocks_count, sb->s_free_inodes_count,
sb->s_first_data_block, EXT2_BLOCK_SIZE(sb), EXT2_FRAG_SIZE(sb));
free(str);
if (sb->s_reserved_gdt_blocks)
fprintf(f, "Reserved GDT blocks: %u\n",
fprintf(f, "Reserved GDT blocks: %u\n",
sb->s_reserved_gdt_blocks);
fprintf(f,
"Blocks per group: %u\n"

View File

@@ -1,11 +1,11 @@
/*
* mountopts.c --- convert between default mount options and strings
*
*
* Copyright (C) 2002 Theodore Ts'o <tytso@mit.edu>
*
*
* This file can be redistributed under the terms of the GNU Library General
* Public License
*
*
*/
#include <stdio.h>

View File

@@ -11,10 +11,10 @@
#include <string.h>
static const char * const os_tab[] =
{ "Linux",
"Hurd",
"Masix",
"FreeBSD",
{ "Linux",
"Hurd",
"Masix",
"FreeBSD",
"Lites",
0 };
@@ -53,7 +53,7 @@ int e2p_string2os(char *str)
#ifdef TEST_PROGRAM
int main(int argc, char **argv)
{
char *s;
char *s;
int i, os;
for (i=0; i <= EXT2_OS_LITES; i++) {

View File

@@ -1,8 +1,8 @@
/*
* parse_num.c - Parse the number of blocks
* parse_num.c - Parse the number of blocks
*
* Copyright (C) 2004,2005 Theodore Ts'o <tytso@mit.edu>
*
*
* This file can be redistributed under the terms of the GNU Library General
* Public License
*/
@@ -18,25 +18,25 @@ unsigned long parse_num_blocks(const char *arg, int log_block_size)
num = strtoull(arg, &p, 0);
if (p[0] && p[1])
if (p[0] && p[1])
return 0;
switch (*p) { /* Using fall-through logic */
case 'T': case 't':
case 'T': case 't':
num <<= 10;
case 'G': case 'g':
case 'G': case 'g':
num <<= 10;
case 'M': case 'm':
case 'M': case 'm':
num <<= 10;
case 'K': case 'k':
num >>= log_block_size;
case 'K': case 'k':
num >>= log_block_size;
break;
case 's':
case 's':
num >>= 1;
break;
case '\0':
break;
default:
default:
return 0;
}
return num;

View File

@@ -41,7 +41,7 @@ static const struct flags_name flags_array[] = {
{ EXT2_ECOMPR_FL, "E", "Compression_Error" },
#endif
{ EXT3_JOURNAL_DATA_FL, "j", "Journaled_Data" },
{ EXT2_INDEX_FL, "I", "Indexed_direcctory" },
{ EXT2_INDEX_FL, "I", "Indexed_direcctory" },
{ EXT2_NOTAIL_FL, "t", "No_Tailmerging" },
{ EXT2_TOPDIR_FL, "T", "Top_of_Directory_Hierarchies" },
{ 0, NULL, NULL }

View File

@@ -19,7 +19,7 @@ struct uuid {
/* Returns 1 if the uuid is the NULL uuid */
int e2p_is_null_uuid(void *uu)
{
__u8 *cp;
__u8 *cp;
int i;
for (i=0, cp = uu; i < 16; i++)
@@ -42,7 +42,7 @@ static void e2p_unpack_uuid(void *in, struct uuid *uu)
tmp = *ptr++;
tmp = (tmp << 8) | *ptr++;
uu->time_mid = tmp;
tmp = *ptr++;
tmp = (tmp << 8) | *ptr++;
uu->time_hi_and_version = tmp;