Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932291AbVKGClf (ORCPT ); Sun, 6 Nov 2005 21:41:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932363AbVKGClf (ORCPT ); Sun, 6 Nov 2005 21:41:35 -0500 Received: from sccrmhc13.comcast.net ([63.240.77.83]:34512 "EHLO sccrmhc13.comcast.net") by vger.kernel.org with ESMTP id S932291AbVKGCle (ORCPT ); Sun, 6 Nov 2005 21:41:34 -0500 From: "ext3crypt" To: Subject: Am I thinking correctly? Date: Sun, 6 Nov 2005 21:18:00 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 863 Lines: 21 I'm working on a masters project for PSU. It requires that I modify the ext3 and fs code in the kernel proper. The idea is to encrypt data just prior to it being written to disk. I've created a new version of __block_write_full_page (which is called from writepage) to allocate a new (GFP_NOFS) page, setup the buffer_head list and copy the data to the new page (and encrypt it too). When I do this, the data is not written to disk from the new buffer_head that I submit using submit_bh(). I've treked through this code and I'm convinced I'm down the right path. Am I? Any assistance would be appreciated. - 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/