diff options
author | NeilBrown <neilb@suse.de> | 2013-06-19 04:31:45 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-06-19 04:31:45 +0200 |
commit | 1011e8344a6b881883af57959cdd9ec7f9084407 (patch) | |
tree | 01680ce6a6696a200b534e4c434fe0078b8933d6 /super-mbr.c | |
parent | Manage: allow "--stop" on kernel names. (diff) | |
download | mdadm-1011e8344a6b881883af57959cdd9ec7f9084407.tar.xz mdadm-1011e8344a6b881883af57959cdd9ec7f9084407.zip |
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 'super-mbr.c')
-rw-r--r-- | super-mbr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/super-mbr.c b/super-mbr.c index 8b175e31..0fcac7c3 100644 --- a/super-mbr.c +++ b/super-mbr.c @@ -94,7 +94,7 @@ static int load_super_mbr(struct supertype *st, int fd, char *devname) free(super); return 1; } - + if (super->magic != MBR_SIGNATURE_MAGIC) { if (devname) pr_err("No partition table found on %s\n", @@ -154,7 +154,7 @@ static void getinfo_mbr(struct supertype *st, struct mdinfo *info, char *map) for (i = 0; i < MBR_PARTITIONS ; i++) if (sb->parts[i].blocks_num) { - unsigned long last = + unsigned long last = (unsigned long)__le32_to_cpu(sb->parts[i].blocks_num) + (unsigned long)__le32_to_cpu(sb->parts[i].first_sect_lba); if (last > info->component_size) |