lkml.org 
[lkml]   [2013]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[Trivial PATCH 19/33] lockd: Convert use of typedef ctl_table to struct ctl_table
    Date
    This typedef is unnecessary and should just be removed.

    Signed-off-by: Joe Perches <joe@perches.com>
    ---
    fs/lockd/svc.c | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c
    index a2aa97d..7df25d7 100644
    --- a/fs/lockd/svc.c
    +++ b/fs/lockd/svc.c
    @@ -435,7 +435,7 @@ EXPORT_SYMBOL_GPL(lockd_down);
    * Sysctl parameters (same as module parameters, different interface).
    */

    -static ctl_table nlm_sysctls[] = {
    +static struct ctl_table nlm_sysctls[] = {
    {
    .procname = "nlm_grace_period",
    .data = &nlm_grace_period,
    @@ -489,7 +489,7 @@ static ctl_table nlm_sysctls[] = {
    { }
    };

    -static ctl_table nlm_sysctl_dir[] = {
    +static struct ctl_table nlm_sysctl_dir[] = {
    {
    .procname = "nfs",
    .mode = 0555,
    @@ -498,7 +498,7 @@ static ctl_table nlm_sysctl_dir[] = {
    { }
    };

    -static ctl_table nlm_sysctl_root[] = {
    +static struct ctl_table nlm_sysctl_root[] = {
    {
    .procname = "fs",
    .mode = 0555,
    --
    1.8.1.2.459.gbcd45b4.dirty


    \
     
     \ /
      Last update: 2013-06-14 05:21    [W:7.004 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site