Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755646AbYCBPwR (ORCPT ); Sun, 2 Mar 2008 10:52:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752480AbYCBPwJ (ORCPT ); Sun, 2 Mar 2008 10:52:09 -0500 Received: from e2.ny.us.ibm.com ([32.97.182.142]:44673 "EHLO e2.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751932AbYCBPwI (ORCPT ); Sun, 2 Mar 2008 10:52:08 -0500 Date: Sun, 2 Mar 2008 09:47:42 -0600 From: Michael Halcrow To: Josh Boyer Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, bdriessen@escrypt.com, shaggy@us.ibm.com, sandeen@redhat.com, tchicks@us.ibm.com, trevor.highland@gmail.com Subject: Re: [PATCH] eCryptfs: Make ecryptfs_prepare_write decrypt the page Message-ID: <20080302154742.GE4627@localhost.austin.ibm.com> Reply-To: Michael Halcrow References: <20080302064452.GD4627@localhost.austin.ibm.com> <20080302080452.1e66b1a9@zod.rchland.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080302080452.1e66b1a9@zod.rchland.ibm.com> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 832 Lines: 20 On Sun, Mar 02, 2008 at 08:04:52AM -0600, Josh Boyer wrote: > On Sun, 2 Mar 2008 00:44:52 -0600 > Michael Halcrow wrote: > > > When the page is not up to date, ecryptfs_prepare_write() should be > > acting much like ecryptfs_readpage(). This includes the painfully > > obvious step of actually decrypting the page contents read from the > > lower encrypted file. > > > > Note that this patch resolves a bug in eCryptfs in 2.6.24 that one can > > produce with these steps: > > Should it go in -stable then? Yes; I recommend this fix for a future 2.6.24 release. -- 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/