Commit 170eb55f authored by Dongsheng Yang's avatar Dongsheng Yang Committed by Richard Weinberger

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: default avatarDongsheng Yang <yangds.fnst@cn.fujitsu.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 34b89df9
......@@ -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__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment