lkml.org 
[lkml]   [2009]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 19/27] sysfs: Nicely indent sysfs_symlink_inode_operations
    Date
    From: Eric W. Biederman <ebiederm@xmission.com>

    Lining up the functions in sysfs_symlink_inode_operations
    follows the pattern in the rest of sysfs and makes things
    slightly more readable.

    Acked-by: Tejun Heo <tj@kernel.org>
    Acked-by: Serge Hallyn <serue@us.ibm.com>
    Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    ---
    fs/sysfs/symlink.c | 8 ++++----
    1 files changed, 4 insertions(+), 4 deletions(-)

    diff --git a/fs/sysfs/symlink.c b/fs/sysfs/symlink.c
    index c5081ad..1137418 100644
    --- a/fs/sysfs/symlink.c
    +++ b/fs/sysfs/symlink.c
    @@ -210,10 +210,10 @@ static void sysfs_put_link(struct dentry *dentry, struct nameidata *nd, void *co
    }

    const struct inode_operations sysfs_symlink_inode_operations = {
    - .setxattr = sysfs_setxattr,
    - .readlink = generic_readlink,
    - .follow_link = sysfs_follow_link,
    - .put_link = sysfs_put_link,
    + .setxattr = sysfs_setxattr,
    + .readlink = generic_readlink,
    + .follow_link = sysfs_follow_link,
    + .put_link = sysfs_put_link,
    };


    --
    1.6.5.5


    \
     
     \ /
      Last update: 2009-12-11 23:37    [W:3.739 / U:0.104 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site