summaryrefslogtreecommitdiff
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-06-19 12:31:45 +1000
committerNeilBrown <neilb@suse.de>2013-06-19 12:31:45 +1000
commit1011e8344a6b881883af57959cdd9ec7f9084407 (patch)
tree01680ce6a6696a200b534e4c434fe0078b8933d6 /mdadm.h
parente6dd89da86813679fae44e472ea470a943f133e2 (diff)
Remove lots of unnecessary white space.
Now that I am using white-space mode in Emacs I can see all of this, and I don't like it :-) Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/mdadm.h b/mdadm.h
index f498b937..2633b89e 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -51,7 +51,6 @@ extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence));
#define srandom srand
#endif
-
#include <linux/kdev_t.h>
/*#include <linux/fs.h> */
#include <sys/mount.h>
@@ -162,7 +161,6 @@ extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence));
#endif
#endif /* __KLIBC__ */
-
/*
* min()/max()/clamp() macros that also do
* strict type-checking.. See the
@@ -233,7 +231,7 @@ struct mdinfo {
int container_enough; /* flag external handlers can set to
* indicate that subarrays have not enough (-1),
* enough to start (0), or all expected disks (1) */
- char sys_name[20];
+ char sys_name[20];
struct mdinfo *devs;
struct mdinfo *next;
@@ -448,7 +446,6 @@ typedef struct mapping {
int num;
} mapping_t;
-
struct mdstat_ent {
char *dev;
char devnm[32];
@@ -463,7 +460,7 @@ struct mdstat_ent {
struct dev_member {
char *name;
struct dev_member *next;
- } *members;
+ } *members;
struct mdstat_ent *next;
};
@@ -605,7 +602,6 @@ static inline char *map_dev(int major, int minor, int create)
struct active_array;
struct metadata_update;
-
/* 'struct reshape' records the intermediate states of
* a general reshape.
* The starting geometry is converted to the 'before' geometry
@@ -892,7 +888,7 @@ extern struct superswitch {
* (in a->resync_start).
* resync status is really irrelevant if the array is not consistent,
* but some metadata (DDF!) have a place to record the distinction.
- * If 'consistent' is '2', then the array can mark it dirty if a
+ * If 'consistent' is '2', then the array can mark it dirty if a
* resync/recovery/whatever is required, or leave it clean if not.
* Return value is 0 dirty (not consistent) and 1 if clean.
* it is only really important if consistent is passed in as '2'.
@@ -1156,7 +1152,6 @@ struct stat64;
extern int add_dev(const char *name, const struct stat *stb, int flag, struct FTW *s);
-
extern int Manage_ro(char *devname, int fd, int readonly);
extern int Manage_run(char *devname, int fd, int quiet);
extern int Manage_stop(char *devname, int fd, int quiet,
@@ -1385,7 +1380,7 @@ extern char *fd2devnm(int fd);
static inline int is_subarray(char *vers)
{
/* The version string for a 'subarray' (an array in a container)
- * is
+ * is
* /containername/componentname for normal read-write arrays
* -containername/componentname for arrays which mdmon must not
* reconfigure. They might be read-only
@@ -1436,7 +1431,6 @@ char *xstrdup(const char *str);
#define LEVEL_CONTAINER (-100)
#define LEVEL_UNSUPPORTED (-200)
-
/* faulty stuff */
#define WriteTransient 0
@@ -1456,7 +1450,6 @@ char *xstrdup(const char *str);
#define ModeMask 0x1f
#define ModeShift 5
-
#ifdef __TINYC__
#undef minor
#undef major
@@ -1494,7 +1487,6 @@ char *xstrdup(const char *str);
#define ALGORITHM_ROTATING_N_RESTART 9 /* DDF PRL=6 RLQ=2 */
#define ALGORITHM_ROTATING_N_CONTINUE 10 /*DDF PRL=6 RLQ=3 */
-
/* For every RAID5 algorithm we define a RAID6 algorithm
* with exactly the same layout for data and parity, and
* with the Q block always on the last device (N-1).