diff options
author | NeilBrown <neilb@suse.de> | 2013-06-19 12:31:45 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-06-19 12:31:45 +1000 |
commit | 1011e8344a6b881883af57959cdd9ec7f9084407 (patch) | |
tree | 01680ce6a6696a200b534e4c434fe0078b8933d6 /raid6check.c | |
parent | e6dd89da86813679fae44e472ea470a943f133e2 (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 'raid6check.c')
-rw-r--r-- | raid6check.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/raid6check.c b/raid6check.c index aa6ce234..805d090a 100644 --- a/raid6check.c +++ b/raid6check.c @@ -43,7 +43,6 @@ void raid6_2data_recov(int disks, size_t bytes, int faila, int failb, uint8_t **ptrs); void xor_blocks(char *target, char **sources, int disks, int size); - /* Collect per stripe consistency information */ void raid6_collect(int chunk_size, uint8_t *p, uint8_t *q, char *chunkP, char *chunkQ, int *results) @@ -144,7 +143,6 @@ int unlock_all_stripes(struct mdinfo *info, sighandler_t *sig) { return rv * 256; } - int check_stripes(struct mdinfo *info, int *source, unsigned long long *offsets, int raid_disks, int chunk_size, int level, int layout, unsigned long long start, unsigned long long length, char *name[], @@ -308,7 +306,6 @@ int check_stripes(struct mdinfo *info, int *source, unsigned long long *offsets, } write_res1 = write(source[failed_disk1], stripes[failed_disk1], chunk_size); - seek_res = lseek64(source[failed_disk2], offsets[failed_disk2] + start * chunk_size, SEEK_SET); if (seek_res < 0) { @@ -364,7 +361,6 @@ int check_stripes(struct mdinfo *info, int *source, unsigned long long *offsets, } } - length--; start++; } |