Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758049AbZASCRv (ORCPT ); Sun, 18 Jan 2009 21:17:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756789AbZASCRj (ORCPT ); Sun, 18 Jan 2009 21:17:39 -0500 Received: from vsmtp04.dti.ne.jp ([202.216.231.139]:55623 "EHLO vsmtp04.dti.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756696AbZASCRi (ORCPT ); Sun, 18 Jan 2009 21:17:38 -0500 From: hooanon05@yahoo.co.jp Subject: Re: [Ecryptfs-devel] [PATCH] ecryptfs: some inode attrs, and a question To: Dave Kleikamp Cc: Tyler Hicks , linux-fsdevel , linux-kernel@vger.kernel.org, ecryptfs-devel@lists.launchpad.net In-Reply-To: <1232215916.7015.78.camel@norville.austin.ibm.com> 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> Date: Mon, 19 Jan 2009 11:17:34 +0900 Message-ID: <7087.1232331454@jrobl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 605 Lines: 16 Dave Kleikamp: > For a regular file, the size of the upper inode is not the same as the > size of the lower inode. The lower inode includes the header blocks > which are not visible in the upper inode. So ecryptfs_interpose() will > overwrite the correct upper inode size. Then it means updating i_size in ecryptfs_link() is unnecessary... J. R. Okajima -- 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/