ubifs: Pass ubifs_zbranch to read_znode()
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 7 Sep 2018 12:36:25 +0000 (14:36 +0200)
committerRichard Weinberger <richard@nod.at>
Tue, 23 Oct 2018 11:48:14 +0000 (13:48 +0200)
commit22ceaa8c688d0c8a6fc6eb7ebf32c01914220d0a
tree267fae44a90adb1d37dbb07ed8acf725e3952318
parent545bc8f6b0c60eee789a91ac1f8c9a16467b2fc5
ubifs: Pass ubifs_zbranch to read_znode()

read_znode() takes len, lnum and offs arguments which the caller all
extracts from the same struct ubifs_zbranch *. When adding authentication
support we would have to add a pointer to a hash to the arguments which
is also part of struct ubifs_zbranch. Pass the ubifs_zbranch * instead
so that we do not have to add another argument.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/tnc_misc.c