Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] ubifs: Fix wrong space calculation while doing budget
@ 2022-10-11  3:47 Zhihao Cheng
  2022-10-11  3:47 ` [PATCH 1/6] ubifs: Rectify space budget for ubifs_symlink() if symlink is encrypted Zhihao Cheng
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Zhihao Cheng @ 2022-10-11  3:47 UTC (permalink / raw)
  To: richard, s.hauer, miquel.raynal
  Cc: linux-mtd, linux-kernel, chengzhihao1, yukuai3

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


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-11-18  8:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-11  3:47 [PATCH 0/6] ubifs: Fix wrong space calculation while doing budget Zhihao Cheng
2022-10-11  3:47 ` [PATCH 1/6] ubifs: Rectify space budget for ubifs_symlink() if symlink is encrypted Zhihao Cheng
2022-10-11  3:47 ` [PATCH 2/6] ubifs: Rectify space budget for ubifs_xrename() Zhihao Cheng
2022-10-11  3:47 ` [PATCH 3/6] ubifs: Add comments and debug info " Zhihao Cheng
2022-10-11  3:47 ` [PATCH 4/6] ubifs: Fix wrong dirty space budget for dirty inode Zhihao Cheng
2022-10-11  3:47 ` [PATCH 5/6] ubifs: do_rename: Fix wrong space budget when target inode's nlink > 1 Zhihao Cheng
2022-10-11  3:47 ` [PATCH 6/6] ubifs: Reserve one leb for each journal head while doing budget Zhihao Cheng
2022-11-18  8:53 ` [PATCH 0/6] ubifs: Fix wrong space calculation " Zhihao Cheng
2022-11-18  8:56   ` Richard Weinberger
2022-11-18  8:58     ` Zhihao Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox