From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] fsstack: fsstack_copy_inode_size locking Date: Tue, 1 Jul 2008 03:03:50 -0400 Message-ID: <20080701070350.GA22914@infradead.org> References: <200806301819.m5UIJRhv030310@agora.fsl.cs.sunysb.edu> <20080630214901.GA8900@halcrowt61p.austin.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Erez Zadok , Hugh Dickins , Christoph Hellwig , Andrew Morton , hooanon05@yahoo.co.jp, viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Michael Halcrow Return-path: Content-Disposition: inline In-Reply-To: <20080630214901.GA8900@halcrowt61p.austin.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, Jun 30, 2008 at 04:49:01PM -0500, Michael Halcrow wrote: > eCryptfs depends on the results of i_size_read() on the lower inode > when it needs to interpolate the filesize when the metadata is stored > in the lower file's xattr region. please use vfs_getattr to get the size in thst case.