From mboxrd@z Thu Jan 1 00:00:00 1970 From: hooanon05@yahoo.co.jp Subject: Re: [Ecryptfs-devel] [PATCH] ecryptfs: some inode attrs, and a question Date: Tue, 20 Jan 2009 00:35:43 +0900 Message-ID: <12188.1232379343@jrobl> References: <7471.1231827621@jrobl> <1231852628.6954.4.camel@norville.austin.ibm.com> <496FAFE2.8020102@linux.vnet.ibm.com> <9829.1232091366@jrobl> <1232125169.15209.19.camel@norville.austin.ibm.com> <7210.1232172192@jrobl> <1232210546.7015.8.camel@norville.austin.ibm.com> <10394.1232214142@jrobl> <1232215916.7015.78.camel@norville.austin.ibm.com> <7087.1232331454@jrobl> <1232377295.5893.1.camel@norville.austin.ibm.com> <11994.1232378730@jrobl> <1232379004.5893.7.camel@norville.austin.ibm.com> Cc: Tyler Hicks , linux-fsdevel , linux-kernel@vger.kernel.org, ecryptfs-devel@lists.launchpad.net To: Dave Kleikamp Return-path: Received: from vsmtp01.dti.ne.jp ([202.216.231.136]:63251 "EHLO vsmtp01.dti.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752039AbZASPft (ORCPT ); Mon, 19 Jan 2009 10:35:49 -0500 In-Reply-To: <1232379004.5893.7.camel@norville.austin.ibm.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Dave Kleikamp: > > Does "ecryptfs_interpose() will overwrite the correct upper inode size" > > means ecryptfs_interpose() sets a wrong value? > > Yes. ecryptfs_interpose() will copy the lower inode's size to the upper > inode. For an encrypted file, the lower inode will have a larger size, > since the lower file is prefixed with a header. I see. I am afraid my poor English made me misunderstood. Thank you. J. R. Okajima