summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDongsheng Yang <yangds.fnst@cn.fujitsu.com>2015-12-22 09:22:01 +0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:20:19 -0700
commit819f5bcd533a7e73fcc88f3a36067864ad0bfb01 (patch)
treee05e3601d514e70e76ddf7d1c9c05c11c1f7b1fd /fs
parent9fcf4e06a0728ee3b91d9b03ef36d992be923946 (diff)
UBIFS: add a comment in key.h for unused parameter
Add a comment in key.h to explain why we keep an unused parameter in key helpers. CRs-Fixed: 975289 Change-Id: I88633f34f7f49b5b895f2295c1ce4ad250900fc0 Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> Signed-off-by: Richard Weinberger <richard@nod.at> Git-commit: 170eb55f7d4ba9564736ba298a7d4985422db4cc Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by: Nikhilesh Reddy <reddyn@codeaurora.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/ubifs/key.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ubifs/key.h b/fs/ubifs/key.h
index 92a8491a8f8c..c0a95e393347 100644
--- a/fs/ubifs/key.h
+++ b/fs/ubifs/key.h
@@ -34,6 +34,12 @@
* node. We use "r5" hash borrowed from reiserfs.
*/
+/*
+ * Lot's of the key helpers require a struct ubifs_info *c as the first parameter.
+ * But we are not using it at all currently. That's designed for future extensions of
+ * different c->key_format. But right now, there is only one key type, UBIFS_SIMPLE_KEY_FMT.
+ */
+
#ifndef __UBIFS_KEY_H__
#define __UBIFS_KEY_H__