In compress_mode=user, f2fs_release_compress_blocks()
does not verify whether it has been compressed and
sets FI_COMPRESS_RELEASED directly. which will lead to
return -EINVAL after calling compress.
To fix it,let's do not set FI_COMPRESS_RELEASED if file
is not compressed.
Signed-off-by: zhoudan
From: Eric Biggers
fsverity builtin signatures, at least as currently implemented, are a
mistake and should not be used. They mix the authentication policy
between the kernel and userspace, which is not a clean design and causes
confusion. For builtin signatures to actually provide any security
From: Eric Biggers
An issue that arises when migrating from builtin signatures to userspace
signatures is that existing files that have builtin signatures cannot be
opened unless either CONFIG_FS_VERITY_BUILTIN_SIGNATURES is disabled or
the signing certificate is left in the .fs-verity keyring.
On Wed, Nov 30, 2022 at 03:18:41PM +, Matthew Wilcox wrote:
> On Wed, Nov 30, 2022 at 08:48:04PM +0800, Yangtao Li wrote:
> > Hi,
> >
> > > Thanks for reviewing this. I think the real solution to this is
> > > that f2fs should be using large folios. That way, the page cache
> > > will keep t
There is a spelling mistake in a label name. Fix it.
Signed-off-by: Colin Ian King
---
fs/f2fs/super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 79bf1faf4161..7a9fa1a5baa2 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@