mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
ubifs: Drop unnecessary setting of zbr->znode
in dbg_walk_index ubifs_load_znode is used to load the znode behind a zbranch. ubifs_load_znode links the new child znode to the zbranch, so doing it again is unnecessary. Signed-off-by: Sascha Hauer <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
This commit is contained in:
1 parent
e3d73dead4
commit
a65d10f3ce
1 file changed
-1
@@ -1603,7 +1603,6 @@ int dbg_walk_index(struct ubifs_info *c, dbg_leaf_callback leaf_cb,
|
||||
err = PTR_ERR(child);
|
||||
goto out_unlock;
|
||||
}
|
||||
zbr->znode = child;
|
||||
}
|
||||
|
||||
znode = child;
|
||||
|
||||
Reference in new issue
Block a user