aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-10-28 18:57:19 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-10-28 18:57:19 +0200
commite4dcba1c103dc28e927e004791e331aaf604383d (patch)
treea18094ecc54fcea2cb523a802e0c414c3e6f85bf /e2fsprogs
parent776509544123c68bbc128c0fdb2f699062d294cf (diff)
downloadbusybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.tar.gz
busybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.tar.bz2
busybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.zip
*: whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/old_e2fsprogs/ext2fs/bitops.c2
-rw-r--r--e2fsprogs/old_e2fsprogs/ext2fs/flushb.c6
-rw-r--r--e2fsprogs/old_e2fsprogs/ext2fs/inline.c4
-rw-r--r--e2fsprogs/old_e2fsprogs/ext2fs/ismounted.c10
-rw-r--r--e2fsprogs/old_e2fsprogs/lsattr.c8
-rw-r--r--e2fsprogs/tune2fs.c2
6 files changed, 16 insertions, 16 deletions
diff --git a/e2fsprogs/old_e2fsprogs/ext2fs/bitops.c b/e2fsprogs/old_e2fsprogs/ext2fs/bitops.c
index 3cf157949..3d08394d8 100644
--- a/e2fsprogs/old_e2fsprogs/ext2fs/bitops.c
+++ b/e2fsprogs/old_e2fsprogs/ext2fs/bitops.c
@@ -65,7 +65,7 @@ int ext2fs_test_bit(unsigned int nr, const void * addr)
65 return (mask & *ADDR); 65 return (mask & *ADDR);
66} 66}
67 67
68#endif /* !_EXT2_HAVE_ASM_BITOPS_ */ 68#endif /* !_EXT2_HAVE_ASM_BITOPS_ */
69 69
70void ext2fs_warn_bitmap(errcode_t errcode, unsigned long arg, 70void ext2fs_warn_bitmap(errcode_t errcode, unsigned long arg,
71 const char *description) 71 const char *description)
diff --git a/e2fsprogs/old_e2fsprogs/ext2fs/flushb.c b/e2fsprogs/old_e2fsprogs/ext2fs/flushb.c
index e42982653..45ed76512 100644
--- a/e2fsprogs/old_e2fsprogs/ext2fs/flushb.c
+++ b/e2fsprogs/old_e2fsprogs/ext2fs/flushb.c
@@ -23,7 +23,7 @@
23#endif 23#endif
24#if HAVE_SYS_MOUNT_H 24#if HAVE_SYS_MOUNT_H
25#include <sys/param.h> 25#include <sys/param.h>
26#include <sys/mount.h> /* This may define BLKFLSBUF */ 26#include <sys/mount.h> /* This may define BLKFLSBUF */
27#endif 27#endif
28 28
29#include "ext2_fs.h" 29#include "ext2_fs.h"
@@ -38,10 +38,10 @@
38 */ 38 */
39#ifdef __linux__ 39#ifdef __linux__
40#ifndef BLKFLSBUF 40#ifndef BLKFLSBUF
41#define BLKFLSBUF _IO(0x12,97) /* flush buffer cache */ 41#define BLKFLSBUF _IO(0x12,97) /* flush buffer cache */
42#endif 42#endif
43#ifndef FDFLUSH 43#ifndef FDFLUSH
44#define FDFLUSH _IO(2,0x4b) /* flush floppy disk */ 44#define FDFLUSH _IO(2,0x4b) /* flush floppy disk */
45#endif 45#endif
46#endif 46#endif
47 47
diff --git a/e2fsprogs/old_e2fsprogs/ext2fs/inline.c b/e2fsprogs/old_e2fsprogs/ext2fs/inline.c
index d328cc950..7457b9396 100644
--- a/e2fsprogs/old_e2fsprogs/ext2fs/inline.c
+++ b/e2fsprogs/old_e2fsprogs/ext2fs/inline.c
@@ -1,8 +1,8 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * inline.c --- Includes the inlined functions defined in the header 3 * inline.c --- Includes the inlined functions defined in the header
4 * files as standalone functions, in case the application program 4 * files as standalone functions, in case the application program
5 * is compiled with inlining turned off. 5 * is compiled with inlining turned off.
6 * 6 *
7 * Copyright (C) 1993, 1994 Theodore Ts'o. 7 * Copyright (C) 1993, 1994 Theodore Ts'o.
8 * 8 *
diff --git a/e2fsprogs/old_e2fsprogs/ext2fs/ismounted.c b/e2fsprogs/old_e2fsprogs/ext2fs/ismounted.c
index 7f24f9ba8..f5f6f31cd 100644
--- a/e2fsprogs/old_e2fsprogs/ext2fs/ismounted.c
+++ b/e2fsprogs/old_e2fsprogs/ext2fs/ismounted.c
@@ -59,7 +59,7 @@ static errcode_t check_mntent_file(const char *mtab_file, const char *file,
59 if (S_ISBLK(st_buf.st_mode)) { 59 if (S_ISBLK(st_buf.st_mode)) {
60#ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices */ 60#ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices */
61 file_rdev = st_buf.st_rdev; 61 file_rdev = st_buf.st_rdev;
62#endif /* __GNU__ */ 62#endif /* __GNU__ */
63 } else { 63 } else {
64 file_dev = st_buf.st_dev; 64 file_dev = st_buf.st_dev;
65 file_ino = st_buf.st_ino; 65 file_ino = st_buf.st_ino;
@@ -73,7 +73,7 @@ static errcode_t check_mntent_file(const char *mtab_file, const char *file,
73#ifndef __GNU__ 73#ifndef __GNU__
74 if (file_rdev && (file_rdev == st_buf.st_rdev)) 74 if (file_rdev && (file_rdev == st_buf.st_rdev))
75 break; 75 break;
76#endif /* __GNU__ */ 76#endif /* __GNU__ */
77 } else { 77 } else {
78 if (file_dev && ((file_dev == st_buf.st_dev) && 78 if (file_dev && ((file_dev == st_buf.st_dev) &&
79 (file_ino == st_buf.st_ino))) 79 (file_ino == st_buf.st_ino)))
@@ -99,7 +99,7 @@ static errcode_t check_mntent_file(const char *mtab_file, const char *file,
99 goto is_root; 99 goto is_root;
100 } 100 }
101 } 101 }
102#endif /* __GNU__ */ 102#endif /* __GNU__ */
103 goto errout; 103 goto errout;
104 } 104 }
105#ifndef __GNU__ /* The GNU hurd is deficient; what else is new? */ 105#ifndef __GNU__ /* The GNU hurd is deficient; what else is new? */
@@ -247,7 +247,7 @@ static int is_swap_device(const char *file)
247 if ((stat(file, &st_buf) == 0) && 247 if ((stat(file, &st_buf) == 0) &&
248 S_ISBLK(st_buf.st_mode)) 248 S_ISBLK(st_buf.st_mode))
249 file_dev = st_buf.st_rdev; 249 file_dev = st_buf.st_rdev;
250#endif /* __GNU__ */ 250#endif /* __GNU__ */
251 251
252 if (!(f = fopen_for_read("/proc/swaps"))) 252 if (!(f = fopen_for_read("/proc/swaps")))
253 return 0; 253 return 0;
@@ -271,7 +271,7 @@ static int is_swap_device(const char *file)
271 ret++; 271 ret++;
272 break; 272 break;
273 } 273 }
274#endif /* __GNU__ */ 274#endif /* __GNU__ */
275 } 275 }
276 fclose(f); 276 fclose(f);
277 return ret; 277 return ret;
diff --git a/e2fsprogs/old_e2fsprogs/lsattr.c b/e2fsprogs/old_e2fsprogs/lsattr.c
index 294bf2f2e..9e0e4cb60 100644
--- a/e2fsprogs/old_e2fsprogs/lsattr.c
+++ b/e2fsprogs/old_e2fsprogs/lsattr.c
@@ -12,10 +12,10 @@
12 12
13/* 13/*
14 * History: 14 * History:
15 * 93/10/30 - Creation 15 * 93/10/30 - Creation
16 * 93/11/13 - Replace stat() calls by lstat() to avoid loops 16 * 93/11/13 - Replace stat() calls by lstat() to avoid loops
17 * 94/02/27 - Integrated in Ted's distribution 17 * 94/02/27 - Integrated in Ted's distribution
18 * 98/12/29 - Display version info only when -V specified (G M Sipe) 18 * 98/12/29 - Display version info only when -V specified (G M Sipe)
19 */ 19 */
20 20
21#include <sys/types.h> 21#include <sys/types.h>
diff --git a/e2fsprogs/tune2fs.c b/e2fsprogs/tune2fs.c
index 75e4f6bcf..9daec542a 100644
--- a/e2fsprogs/tune2fs.c
+++ b/e2fsprogs/tune2fs.c
@@ -43,7 +43,7 @@ do { \
43//usage: "Adjust filesystem options on ext[23] filesystems" 43//usage: "Adjust filesystem options on ext[23] filesystems"
44 44
45enum { 45enum {
46 OPT_L = 1 << 0, // label 46 OPT_L = 1 << 0, // label
47 OPT_c = 1 << 1, // max mount count 47 OPT_c = 1 << 1, // max mount count
48 OPT_i = 1 << 2, // check interval 48 OPT_i = 1 << 2, // check interval
49}; 49};