Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758389AbXJ2R2A (ORCPT ); Mon, 29 Oct 2007 13:28:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752378AbXJ2R1v (ORCPT ); Mon, 29 Oct 2007 13:27:51 -0400 Received: from srv5.dvmed.net ([207.36.208.214]:56308 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752644AbXJ2R1u (ORCPT ); Mon, 29 Oct 2007 13:27:50 -0400 Message-ID: <4726180E.5030909@garzik.org> Date: Mon, 29 Oct 2007 13:27:42 -0400 From: Jeff Garzik User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: James Bottomley CC: Cornelia Huck , Kay Sievers , Greg KH , linux-scsi , linux-kernel Subject: Re: [PATCH] sysfs: add filter function to groups References: <1193671019.3383.13.camel@localhost.localdomain> <1193676852.2655.21.camel@lov.site> <1193677071.3383.56.camel@localhost.localdomain> <20071029181814.25410e00@gondolin.boeblingen.de.ibm.com> <1193678646.3383.76.camel@localhost.localdomain> In-Reply-To: <1193678646.3383.76.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.4 (----) X-Spam-Report: SpamAssassin version 3.1.9 on srv5.dvmed.net summary: Content analysis details: (-4.4 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 650 Lines: 19 James Bottomley wrote: > visibility and creation are the same thing, aren't they? An invisible > attribute doesn't appear in the sysfs directory, so it's equivalent to > the file for it not being created. What about the case where it's visible at creation time, but then needs to be made selectively invisible later on? That implies either a remove operation or dentry checks on each lookup? Jeff - 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/