]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
NSM: Use modern style for sm_name field in nsm_handle
authorChuck Lever <chuck.lever@oracle.com>
Thu, 4 Dec 2008 19:20:38 +0000 (14:20 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 6 Jan 2009 16:53:50 +0000 (11:53 -0500)
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>
include/linux/lockd/lockd.h

index 80a0a2cff2b826fbd4ee0fe0cfdc35c6967af13d..54dbb458e73c344edc23dc9833693d28942b47ae 100644 (file)
@@ -79,7 +79,7 @@ struct nlm_host {
 struct nsm_handle {
        struct list_head        sm_link;
        atomic_t                sm_count;
-       char *                  sm_name;
+       char                    *sm_name;
        struct sockaddr_storage sm_addr;
        size_t                  sm_addrlen;
        unsigned int            sm_monitored : 1,