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 18/33] fscache: 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/fscache/main.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/fs/fscache/main.c b/fs/fscache/main.c
    index 7c27907..5b2c174 100644
    --- a/fs/fscache/main.c
    +++ b/fs/fscache/main.c
    @@ -67,7 +67,7 @@ static int fscache_max_active_sysctl(struct ctl_table *table, int write,
    return ret;
    }

    -ctl_table fscache_sysctls[] = {
    +struct ctl_table fscache_sysctls[] = {
    {
    .procname = "object_max_active",
    .data = &fscache_object_max_active,
    @@ -87,7 +87,7 @@ ctl_table fscache_sysctls[] = {
    {}
    };

    -ctl_table fscache_sysctls_root[] = {
    +struct ctl_table fscache_sysctls_root[] = {
    {
    .procname = "fscache",
    .mode = 0555,
    --
    1.8.1.2.459.gbcd45b4.dirty


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