Re: [f2fs-dev] [PATCH 4/4] fsverity: pass pos and size to ->write_merkle_tree_block

2023-01-25 Thread Eric Biggers
[Added back Cc's. Please use Reply-All instead of Reply!] On Wed, Jan 25, 2023 at 01:22:27PM +0100, Andrey Albershteyn wrote: > On Wed, Dec 14, 2022 at 02:43:04PM -0800, Eric Biggers wrote: > > From: Eric Biggers > > > > fsverity_operations::write_merkle_tree_block is passed the index of the >

[f2fs-dev] [PATCH 00/12] acl: remove remaining posix acl handlers

2023-01-25 Thread Christian Brauner
xattr.h | 6 +- include/linux/xattr.h | 8 ++- mm/shmem.c | 4 -- 28 files changed, 290 insertions(+), 314 deletions(-) --- base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2 change-id: 20230125-fs-acl-remove-generic-xa

[f2fs-dev] [PATCH 08/12] f2fs: drop posix acl handlers

2023-01-25 Thread Christian Brauner
Last cycle we introduced a new posix acl api. Filesystems now only need to implement the inode operations for posix acls. The generic xattr handlers aren't used anymore by the vfs and will be completely removed. Keeping the handler around is confusing and gives the false impression that the xattr i

Re: [f2fs-dev] [PATCH] f2fs: fix information leak in f2fs_move_inline_dirents()

2023-01-25 Thread Alexander Potapenko via Linux-f2fs-devel
> > Out of curiosity, did you add any extra annotations to detect uninit > > writes to the disk? > > No. This is the report I got: > > [ 145.280969] = > [ 145.285368] BUG: KMSAN: uninit-value in virtqueue_add+0x1ba5/0x6ac0 Oh cool, nice to see

Re: [f2fs-dev] [PATCH 4/5] fs: hfs: initialize fsdata in hfs_file_truncate()

2023-01-25 Thread Alexander Potapenko via Linux-f2fs-devel
On Tue, Jan 24, 2023 at 10:04 PM Andrew Morton wrote: > > On Tue, 24 Jan 2023 11:51:30 +0100 Alexander Potapenko > wrote: > > > On Mon, Nov 21, 2022 at 12:21 PM Alexander Potapenko > > wrote: > > > > > > When aops->write_begin() does not initialize fsdata, KMSAN may report > > > an error passi