From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH 09/13] sysfs: Implement sysfs_getattr & sysfs_permission Date: Sat, 07 Nov 2009 11:06:56 +0900 Message-ID: <4AF4D640.7030101@kernel.org> References: <1257249429-12384-9-git-send-email-ebiederm@xmission.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Greg Kroah-Hartman , Kay Sievers , Greg KH , linux-kernel@vger.kernel.org, Cornelia Huck , linux-fsdevel@vger.kernel.org, Eric Dumazet , Benjamin LaHaise , "Eric W. Biederman" To: "Eric W. Biederman" Return-path: Received: from hera.kernel.org ([140.211.167.34]:37683 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753477AbZKGCHE (ORCPT ); Fri, 6 Nov 2009 21:07:04 -0500 In-Reply-To: <1257249429-12384-9-git-send-email-ebiederm@xmission.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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. Thanks. -- tejun