diff options
author | Jingbo Xu <[email protected]> | 2023-04-07 22:17:05 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2023-04-17 01:15:49 +0800 |
commit | cb9bce79514392a9a216ff67148e05e2d72c28bd (patch) | |
tree | be58b025aecd4afdc4cabcf75c8a5afa2d6d3888 /tools/perf/scripts/python/task-analyzer.py | |
parent | cc4efd3dd2ac9f89143e5d881609747ecff04164 (diff) |
erofs: initialize packed inode after root inode is assigned
As commit 8f7acdae2cd4 ("staging: erofs: kill all failure handling in
fill_super()"), move the initialization of packed inode after root
inode is assigned, so that the iput() in .put_super() is adequate as
the failure handling.
Otherwise, iput() is also needed in .kill_sb(), in case of the mounting
fails halfway.
Signed-off-by: Jingbo Xu <[email protected]>
Reviewed-by: Yue Hu <[email protected]>
Fixes: b15b2e307c3a ("erofs: support on-disk compressed fragments data")
Reviewed-by: Gao Xiang <[email protected]>
Acked-by: Chao Yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions