Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751735AbZKHGER (ORCPT ); Sun, 8 Nov 2009 01:04:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751237AbZKHGEQ (ORCPT ); Sun, 8 Nov 2009 01:04:16 -0500 Received: from out01.mta.xmission.com ([166.70.13.231]:49298 "EHLO out01.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763AbZKHGEP (ORCPT ); Sun, 8 Nov 2009 01:04:15 -0500 To: Tejun Heo 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" Subject: Re: [PATCH 09/13] sysfs: Implement sysfs_getattr & sysfs_permission References: <1257249429-12384-9-git-send-email-ebiederm@xmission.com> <4AF4D640.7030101@kernel.org> From: ebiederm@xmission.com (Eric W. Biederman) Date: Sat, 07 Nov 2009 22:04:07 -0800 In-Reply-To: <4AF4D640.7030101@kernel.org> (Tejun Heo's message of "Sat\, 07 Nov 2009 11\:06\:56 +0900") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-XM-SPF: eid=;;;mid=;;;hst=in01.mta.xmission.com;;;ip=76.21.114.89;;;frm=ebiederm@xmission.com;;;spf=neutral X-SA-Exim-Connect-IP: 76.21.114.89 X-SA-Exim-Mail-From: ebiederm@xmission.com X-SA-Exim-Version: 4.2.1 (built Thu, 25 Oct 2007 00:26:12 +0000) X-SA-Exim-Scanned: No (on in01.mta.xmission.com); Unknown failure Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 835 Lines: 24 Tejun Heo 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 -- 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/