summaryrefslogtreecommitdiff
path: root/fs/readdir.c
diff options
context:
space:
mode:
authorZhihao Cheng <chengzhihao1@huawei.com>2022-10-11 06:47:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-11 15:55:20 +0300
commitb08071c68b586b82c20bb972ed32dd1a8979b12f (patch)
treead8438d678b4cf73e45117f49056b79ddce7a798 /fs/readdir.c
parentf8bd27b6252a50974e150ac94e394726ecc5cf4e (diff)
downloadlinux-b08071c68b586b82c20bb972ed32dd1a8979b12f.tar.xz
ubifs: Fix wrong dirty space budget for dirty inode
[ Upstream commit b248eaf049d9cdc5eb76b59399e4d3de233f02ac ] 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: 1e51764a3c2ac0 ("UBIFS: add new flash file system") Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions