From: Dongsheng Yang Date: Tue, 22 Dec 2015 01:22:01 +0000 (+0800) Subject: UBIFS: add a comment in key.h for unused parameter X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=170eb55f7d4ba9564736ba298a7d4985422db4cc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Richard Weinberger --- 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__