aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-12-04 14:20:38 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-01-06 11:53:50 -0500
commitf47534f7f0ac7727e05ec4274b764b181df2cf7f (patch)
tree79cfac474c4971ca7efa10b8c5a6e4ba7f1aaf0a
parent5acf43155d1bcc412d892c73f64044f9a826cde6 (diff)
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: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
-rw-r--r--include/linux/lockd/lockd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h
index 80a0a2cff2b8..54dbb458e73c 100644
--- a/include/linux/lockd/lockd.h
+++ b/include/linux/lockd/lockd.h
@@ -79,7 +79,7 @@ struct nlm_host {
79struct nsm_handle { 79struct nsm_handle {
80 struct list_head sm_link; 80 struct list_head sm_link;
81 atomic_t sm_count; 81 atomic_t sm_count;
82 char * sm_name; 82 char *sm_name;
83 struct sockaddr_storage sm_addr; 83 struct sockaddr_storage sm_addr;
84 size_t sm_addrlen; 84 size_t sm_addrlen;
85 unsigned int sm_monitored : 1, 85 unsigned int sm_monitored : 1,