Commit 48bc5705 authored by Zizhi Wo's avatar Zizhi Wo
Browse files

fs/dirty_pages: fix inode reference count leakage error in dump_dirtypages_sb()

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8JUUC?from=project-issue



--------------------------------

Inode reference count leakage exists in dump_dirtypages_sb() function.
Executing iput(inode) in advance to avoid this problem.

Fixes: aeb96447 ("fs/dirty_pages: dump the number of dirty pages for each inode")
Signed-off-by: default avatarZizhi Wo <wozizhi@huawei.com>
parent 66bcd863
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment