Commit f47534f7 authored by Chuck Lever's avatar Chuck Lever Committed by J. Bruce Fields

NSM: Use modern style for sm_name field in nsm_handle

Clean up: I'm about to add another "char *" field to the nsm_handle
structure.  The sm_name field uses an older style of declaring a
"char *" field.  If I match that style for the new field, checkpatch.pl
will complain.

So, fix the sm_name field to use the new style.
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent 5acf4315
...@@ -79,7 +79,7 @@ struct nlm_host { ...@@ -79,7 +79,7 @@ struct nlm_host {
struct nsm_handle { struct nsm_handle {
struct list_head sm_link; struct list_head sm_link;
atomic_t sm_count; atomic_t sm_count;
char * sm_name; char *sm_name;
struct sockaddr_storage sm_addr; struct sockaddr_storage sm_addr;
size_t sm_addrlen; size_t sm_addrlen;
unsigned int sm_monitored : 1, unsigned int sm_monitored : 1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment