ubifs: Add assert to dent_key_init()
authorRichard Weinberger <richard@nod.at>
Wed, 17 May 2017 08:36:47 +0000 (10:36 +0200)
committerRichard Weinberger <richard@nod.at>
Fri, 14 Jul 2017 20:49:06 +0000 (22:49 +0200)
commit8b2900c01716077a42dbb44c691849ab694fa062
tree1a6380ce5351ef599ed3290606847bd5b4b61f83
parent781f675e2d7ec120e8c0803f88d7bf00fe3f0703
ubifs: Add assert to dent_key_init()

...to make sure that we don't use it for double hashed lookups
instead of dent_key_init_hash().

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/key.h