[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221011034732.45605-1-chengzhihao1@huawei.com>
Date: Tue, 11 Oct 2022 11:47:26 +0800
From: Zhihao Cheng <chengzhihao1@...wei.com>
To: <richard@....at>, <s.hauer@...gutronix.de>,
<miquel.raynal@...tlin.com>
CC: <linux-mtd@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<chengzhihao1@...wei.com>, <yukuai3@...wei.com>
Subject: [PATCH 0/6] ubifs: Fix wrong space calculation while doing budget
This series of patches fix ubifs wrong budget space calculations,
which could make make_reservation() failed with ENOSPC error code
and let ubifs become read-only.
Zhihao Cheng (6):
ubifs: Rectify space budget for ubifs_symlink() if symlink is
encrypted
ubifs: Rectify space budget for ubifs_xrename()
ubifs: Add comments and debug info for ubifs_xrename()
ubifs: Fix wrong dirty space budget for dirty inode
ubifs: do_rename: Fix wrong space budget when target inode's nlink > 1
ubifs: Reserve one leb for each journal head while doing budget
fs/ubifs/budget.c | 9 ++++-----
fs/ubifs/dir.c | 18 +++++++++++++++++-
2 files changed, 21 insertions(+), 6 deletions(-)
--
2.31.1
Powered by blists - more mailing lists