Skip to content
Snippets Groups Projects
Commit c077a808 authored by Zhihao Cheng's avatar Zhihao Cheng Committed by Upgrade Bot
Browse files

ubifs: Fix wrong dirty space budget for dirty inode


[ Upstream commit b248eaf0 ]

Each dirty inode should reserve 'c->bi.inode_budget' bytes in space
budget calculation. Currently, space budget for dirty inode reports
more space than what UBIFS actually needs to write.

Fixes: 1e51764a ("UBIFS: add new flash file system")
Signed-off-by: default avatarZhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f0b3e555
No related branches found
No related tags found
1 merge request!66🤖 Upgrade Bot: Update v5.10-ktn to latest Stable Kernel
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment