diff options
author | Dongsheng Yang <yangds.fnst@cn.fujitsu.com> | 2015-12-21 20:22:01 -0500 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2016-01-10 06:33:30 -0500 |
commit | 170eb55f7d4ba9564736ba298a7d4985422db4cc (patch) | |
tree | bfdfb53bd8ee40085603c8831d03ea65e048f887 | |
parent | 34b89df90374b631692132640c6b3dbef52f808d (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.
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r-- | fs/ubifs/key.h | 6 |
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 @@ | |||
34 | * node. We use "r5" hash borrowed from reiserfs. | 34 | * node. We use "r5" hash borrowed from reiserfs. |
35 | */ | 35 | */ |
36 | 36 | ||
37 | /* | ||
38 | * Lot's of the key helpers require a struct ubifs_info *c as the first parameter. | ||
39 | * But we are not using it at all currently. That's designed for future extensions of | ||
40 | * different c->key_format. But right now, there is only one key type, UBIFS_SIMPLE_KEY_FMT. | ||
41 | */ | ||
42 | |||
37 | #ifndef __UBIFS_KEY_H__ | 43 | #ifndef __UBIFS_KEY_H__ |
38 | #define __UBIFS_KEY_H__ | 44 | #define __UBIFS_KEY_H__ |
39 | 45 | ||