aboutsummaryrefslogtreecommitdiff
path: root/fs/ubifs/tnc_misc.c
diff options
context:
space:
mode:
authorGravatar Sascha Hauer <s.hauer@pengutronix.de> 2018-09-07 14:36:24 +0200
committerGravatar Richard Weinberger <richard@nod.at> 2018-10-23 13:48:10 +0200
commit545bc8f6b0c60eee789a91ac1f8c9a16467b2fc5 (patch)
tree740c2772487b6603de064eb7c1a13db3c98c2d6f /fs/ubifs/tnc_misc.c
parentubifs: Refactor create_default_filesystem() (diff)
downloadlinux-545bc8f6b0c60eee789a91ac1f8c9a16467b2fc5.tar.gz
linux-545bc8f6b0c60eee789a91ac1f8c9a16467b2fc5.tar.bz2
linux-545bc8f6b0c60eee789a91ac1f8c9a16467b2fc5.zip
ubifs: Pass ubifs_zbranch to try_read_node()
try_read_node() 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>
Diffstat (limited to 'fs/ubifs/tnc_misc.c')
0 files changed, 0 insertions, 0 deletions