Skip to content

Commit 170eb55

Browse files
Dongsheng Yangrichardweinberger
authored andcommitted
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 <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
1 parent 34b89df commit 170eb55

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

fs/ubifs/key.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
* node. We use "r5" hash borrowed from reiserfs.
3535
*/
3636

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+
3743
#ifndef __UBIFS_KEY_H__
3844
#define __UBIFS_KEY_H__
3945

0 commit comments

Comments
 (0)