Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754965AbYGAHE1 (ORCPT ); Tue, 1 Jul 2008 03:04:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752038AbYGAHES (ORCPT ); Tue, 1 Jul 2008 03:04:18 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:46586 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751767AbYGAHER (ORCPT ); Tue, 1 Jul 2008 03:04:17 -0400 Date: Tue, 1 Jul 2008 03:03:50 -0400 From: Christoph Hellwig To: Michael Halcrow 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 Subject: Re: [PATCH] fsstack: fsstack_copy_inode_size locking 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 Content-Disposition: inline In-Reply-To: <20080630214901.GA8900@halcrowt61p.austin.ibm.com> User-Agent: Mutt/1.5.18 (2008-05-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: 543 Lines: 12 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. -- 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/