Fix the indentation and spacing that don't conform to the coding standard.

This commit is contained in:
Erdem Meydanli 2020-05-28 19:03:43 +02:00 committed by patacongo
parent 7f018e7898
commit 20ef084712

View File

@ -362,7 +362,7 @@ struct diropargs3
{ {
struct file_handle fhandle; /* Variable length */ struct file_handle fhandle; /* Variable length */
uint32_t length; /* Size of name[] */ uint32_t length; /* Size of name[] */
uint32_t name[(NAME_MAX+3) >> 2]; /* Variable length */ uint32_t name[(NAME_MAX + 3) >> 2]; /* Variable length */
}; };
struct CREATE3args struct CREATE3args
@ -393,14 +393,15 @@ struct SETATTR3resok
struct wcc_data wcc_data; struct wcc_data wcc_data;
}; };
/* The actual size of the lookup argument is variable. These structures are, therefore, /* The actual size of the lookup argument is variable.
* only useful in setting aside maximum memory usage for the LOOKUP arguments. * These structures are, therefore, only useful in setting
* aside maximum memory usage for the LOOKUP arguments.
*/ */
struct LOOKUP3filename struct LOOKUP3filename
{ {
uint32_t namelen; /* Size of name[] */ uint32_t namelen; /* Size of name[] */
uint32_t name[(NAME_MAX+3) >> 2]; /* Variable length */ uint32_t name[(NAME_MAX + 3) >> 2]; /* Variable length */
}; };
struct LOOKUP3args struct LOOKUP3args
@ -411,7 +412,7 @@ struct LOOKUP3args
/* Actual size of LOOKUP3args */ /* Actual size of LOOKUP3args */
#define SIZEOF_LOOKUP3filename(b) (sizeof(uint32_t) + (((b)+3) & ~3)) #define SIZEOF_LOOKUP3filename(b) (sizeof(uint32_t) + (((b) + 3) & ~3))
#define SIZEOF_LOOKUP3args(a,b) (SIZEOF_file_handle(a) + SIZEOF_LOOKUP3filename(b)) #define SIZEOF_LOOKUP3args(a,b) (SIZEOF_file_handle(a) + SIZEOF_LOOKUP3filename(b))
struct LOOKUP3resok struct LOOKUP3resok
@ -525,8 +526,8 @@ struct READDIR3args
uint32_t count; uint32_t count;
}; };
/* The READDIR reply is variable length and consists of multiple entries, each /* The READDIR reply is variable length and consists of multiple entries,
* of form: * each of form:
* *
* EOF - OR - * EOF - OR -
* *