Skip to content

Commit

Permalink
UBIFS: add a comment in key.h for unused parameter
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dongsheng Yang authored and Richard Weinberger committed Jan 10, 2016
1 parent 34b89df commit 170eb55
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fs/ubifs/key.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__

Expand Down

0 comments on commit 170eb55

Please sign in to comment.