From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758778AbZBZVNh (ORCPT ); Thu, 26 Feb 2009 16:13:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752903AbZBZVNZ (ORCPT ); Thu, 26 Feb 2009 16:13:25 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:44364 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753244AbZBZVNY (ORCPT ); Thu, 26 Feb 2009 16:13:24 -0500 Date: Thu, 26 Feb 2009 13:13:08 -0800 From: Andrew Morton To: ebiederm@xmission.com (Eric W. Biederman) Cc: gregkh@suse.de, linux-kernel@vger.kernel.org, htejun@gmail.com, linux-pci@vger.kernel.org, jbarnes@virtuousgeek.org Subject: Re: [PATCH] sysfs: Don't block indefinitely for unmapped files. Message-Id: <20090226131308.41ffbd31.akpm@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 25 Feb 2009 00:16:20 -0800 ebiederm@xmission.com (Eric W. Biederman) wrote: > +/* > + * There's one bin_buffer for each open file. > + * > + * filp->private_data points to bin_buffer and > + * sysfs_dirent->s_bin_attr.buffers points to a the bin_buffer s what is this trying to say? > + * sysfs_dirent->s_bin_attr.buffers is protected by sysfs_bin_lock > + */