| Submitter | Eric W. Biederman |
|---|---|
| Date | 2009-11-03 11:57:04 |
| Message ID | <1257249429-12384-8-git-send-email-ebiederm@xmission.com> |
| Download | mbox | patch |
| Permalink | /patch/57289/ |
| State | New |
| Headers | show |
Comments
Quoting Eric W. Biederman (ebiederm@xmission.com): > 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> Acked-by: Serge Hallyn <serue@us.ibm.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 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Patch
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, };