Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752844Ab0HPXR4 (ORCPT ); Mon, 16 Aug 2010 19:17:56 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:32908 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752505Ab0HPXRz (ORCPT ); Mon, 16 Aug 2010 19:17:55 -0400 Date: Mon, 16 Aug 2010 19:17:53 -0400 From: Christoph Hellwig To: H Hartley Sweeten Cc: Linux Kernel , linux-fsdevel@vger.kernel.org, matthew@wil.cx Subject: Re: [PATCH] fs.h: introduce functions to get/set file->private_data Message-ID: <20100816231753.GA16546@infradead.org> References: <201008161137.53187.hartleys@visionengravers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008161137.53187.hartleys@visionengravers.com> User-Agent: Mutt/1.5.20 (2009-08-17) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 554 Lines: 12 On Mon, Aug 16, 2010 at 11:37:52AM -0700, H Hartley Sweeten wrote: > The symbol 'private_data' is commonly used and makes grep'ing for > specific uses difficult. Introduce the wrapper functions file_get_privdata > and file_set_privdata to help with the struct file uses. This just obsfucates the code, NAK. -- 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/