mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-20 15:06:34 -05:00
Fix some formatting issues of the code
Now it matches the Linux kernel style.
This commit is contained in:
parent
2bcca4f2ec
commit
c8558c28ac
10 changed files with 50 additions and 48 deletions
|
|
@ -132,6 +132,8 @@ int raid_test_sort(void)
|
|||
|
||||
int raid_test_rec(int mode, int nd, size_t size)
|
||||
{
|
||||
void (*f[RAID_PARITY_MAX][4])(
|
||||
int nr, int *id, int *ip, int nd, size_t size, void **vbuf);
|
||||
void *v_alloc;
|
||||
void **v;
|
||||
void **data;
|
||||
|
|
@ -146,9 +148,6 @@ int raid_test_rec(int mode, int nd, size_t size)
|
|||
int i;
|
||||
int j;
|
||||
int nr;
|
||||
|
||||
void (*f[RAID_PARITY_MAX][4])(
|
||||
int nr, int *id, int *ip, int nd, size_t size, void **vbuf);
|
||||
int nf[RAID_PARITY_MAX];
|
||||
int np;
|
||||
|
||||
|
|
@ -279,12 +278,11 @@ bail:
|
|||
|
||||
int raid_test_par(int mode, int nd, size_t size)
|
||||
{
|
||||
void (*f[64]) (int nd, size_t size, void **vbuf);
|
||||
void *v_alloc;
|
||||
void **v;
|
||||
int nv;
|
||||
int i, j;
|
||||
|
||||
void (*f[64]) (int nd, size_t size, void **vbuf);
|
||||
int nf;
|
||||
int np;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue