tnc.c (58f7553fa424fd0fd74e8b796d50c66014cebebe) | tnc.c (b8f1da98a219ab8c371fae5c3efb4b90b8594f3b) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * This file is part of UBIFS. 4 * 5 * Copyright (C) 2006-2008 Nokia Corporation. 6 * 7 * Authors: Adrian Hunter 8 * Artem Bityutskiy (Битюцкий Артём) --- 363 unchanged lines hidden (view full) --- 372/** 373 * tnc_read_hashed_node - read a "hashed" leaf node. 374 * @c: UBIFS file-system description object 375 * @zbr: key and position of the node 376 * @node: node is returned here 377 * 378 * This function reads a "hashed" node defined by @zbr from the leaf node cache 379 * (in it is there) or from the hash media, in which case the node is also | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * This file is part of UBIFS. 4 * 5 * Copyright (C) 2006-2008 Nokia Corporation. 6 * 7 * Authors: Adrian Hunter 8 * Artem Bityutskiy (Битюцкий Артём) --- 363 unchanged lines hidden (view full) --- 372/** 373 * tnc_read_hashed_node - read a "hashed" leaf node. 374 * @c: UBIFS file-system description object 375 * @zbr: key and position of the node 376 * @node: node is returned here 377 * 378 * This function reads a "hashed" node defined by @zbr from the leaf node cache 379 * (in it is there) or from the hash media, in which case the node is also |
380 * added to LNC. Returns zero in case of success or a negative negative error | 380 * added to LNC. Returns zero in case of success or a negative error |
381 * code in case of failure. 382 */ 383static int tnc_read_hashed_node(struct ubifs_info *c, struct ubifs_zbranch *zbr, 384 void *node) 385{ 386 int err; 387 388 ubifs_assert(c, is_hash_key(c, &zbr->key)); --- 3144 unchanged lines hidden --- | 381 * code in case of failure. 382 */ 383static int tnc_read_hashed_node(struct ubifs_info *c, struct ubifs_zbranch *zbr, 384 void *node) 385{ 386 int err; 387 388 ubifs_assert(c, is_hash_key(c, &zbr->key)); --- 3144 unchanged lines hidden --- |