Messages in this thread | | | Subject | Re: [PATCH 09/13] sysfs: Implement sysfs_getattr & sysfs_permission | From | (Eric W. Biederman) | Date | Sat, 07 Nov 2009 22:04:07 -0800 |
| |
Tejun Heo <tj@kernel.org> writes:
> Eric W. Biederman wrote: >> diff --git a/fs/sysfs/symlink.c b/fs/sysfs/symlink.c >> index 1137418..c5eff49 100644 >> --- a/fs/sysfs/symlink.c >> +++ b/fs/sysfs/symlink.c >> @@ -214,6 +214,9 @@ const struct inode_operations sysfs_symlink_inode_operations = { >> .readlink = generic_readlink, >> .follow_link = sysfs_follow_link, >> .put_link = sysfs_put_link, >> + .setattr = sysfs_setattr, > > It would be nice either to separate addition of setattr to symlinks > into a separate patch or note it in the description.
Good point note added.
Eric
| |