]> Git Repo - u-boot.git/commit
ubifs: Call ubifs_iput when ubifs_iget is used
authorMichael Trimarchi <[email protected]>
Sat, 10 Aug 2024 12:57:44 +0000 (14:57 +0200)
committerHeiko Schocher <[email protected]>
Sun, 11 Aug 2024 04:52:15 +0000 (06:52 +0200)
commitd16bda85ff0762aa96e36fa65d2e3b5342d73d7a
treefaa7d2d071098fe7720b91e816282a98476d8b7e
parentcf7ea719ce60cd885cce5023dfaf7833d9fc1442
ubifs: Call ubifs_iput when ubifs_iget is used

The inode should be freed after a reference is get to avoid
memory leak

Tested-by: Alexander Dahl <[email protected]>
Link: https://lore.kernel.org/u-boot/[email protected]/T/#t
Link: https://lore.kernel.org/all/[email protected]/T/
Co-developed-by: Heiko Schocher <[email protected]>
Signed-off-by: Michael Trimarchi <[email protected]>
fs/ubifs/super.c
fs/ubifs/ubifs.c
This page took 0.037357 seconds and 4 git commands to generate.