lkml.org 
[lkml]   [2009]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 08/13] 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>
    Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
    ---
    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.2.143.g8cc62


    \
     
     \ /
      Last update: 2009-11-03 13:03    [W:4.107 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site