Skip to content

Commit f47534f

Browse files
chuckleverJ. Bruce Fields
authored andcommitted
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>
1 parent 5acf431 commit f47534f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/lockd/lockd.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ struct nlm_host {
7979
struct nsm_handle {
8080
struct list_head sm_link;
8181
atomic_t sm_count;
82-
char * sm_name;
82+
char *sm_name;
8383
struct sockaddr_storage sm_addr;
8484
size_t sm_addrlen;
8585
unsigned int sm_monitored : 1,

0 commit comments

Comments
 (0)