Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753789Ab2ETLf3 (ORCPT ); Sun, 20 May 2012 07:35:29 -0400 Received: from static.78-46-68-141.clients.your-server.de ([78.46.68.141]:42956 "HELO eristoteles.iwoars.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with SMTP id S1752936Ab2ETLf2 (ORCPT ); Sun, 20 May 2012 07:35:28 -0400 Date: Sun, 20 May 2012 13:35:26 +0200 (CEST) From: Joel Reardon X-X-Sender: joel@eristoteles.iwoars.net To: Artem Bityutskiy cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [patch] UBIFS: improved comment for data node's format history In-Reply-To: <1337427288.2041.24.camel@koala> Message-ID: References: <1337087022.2528.204.camel@sauron.fi.intel.com> <1337427288.2041.24.camel@koala> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1129 Lines: 32 A few more lines of comment on ksa_pos field in struct ubifs_data_node. Signed-off-by: Joel Reardon --- fs/ubifs/ubifs-media.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/fs/ubifs/ubifs-media.h b/fs/ubifs/ubifs-media.h index 55f2ccd..90f348c 100644 --- a/fs/ubifs/ubifs-media.h +++ b/fs/ubifs/ubifs-media.h @@ -545,6 +545,11 @@ struct ubifs_dent_node { * @padding: reserved for future, zeroes * @data: data * + * The @ksa_pos value is used for secure deletion enhancement of UBIFS. + * In older versions of UBIFS, @ksa_pos did not exist but was instead an + * unused part of @key and was set to all zeros. UBIFS partitions with secure + * deletion disabled also store all zeros for ksa_pos. + * * Note, do not forget to amend 'zero_data_node_unused()' function when * changing the padding fields. */ -- 1.7.5.4 -- 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/