Skip to content

inode_init_always zeroing i_state

Mateusz Guzik linux-bcachefs linux-fsdevel linux-xfs lkml 1 version Applied

Status from this message: Applied to the vfs.inode.rcu branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 4 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4xfs: preserve i_state around inode_init_always in xfs_reinit_inodefs/xfs/xfs_icache.c+2 -00 replies
2/4vfs: partially sanitize i_state zeroing on inode creationfs/inode.c+3 -102 replies
3/4xfs: remove now spurious i_state initialization in xfs_inode_allocfs/xfs/xfs_icache.c+1 -20 replies
4/4bcachefs: remove now spurious i_state initializationfs/bcachefs/fs.c+0 -11 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchKent OverstreetJan Kara
1/4
2/4R-b
3/4
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] inode_init_always zeroing i_state

As requested by Jan this is a 4-part series.

I diffed this against fs-next + my inode hash patch v3 as it adds one i_state = 0 case. Should that hash thing not be accepted this bit is trivially droppable from the patch.

Mateusz Guzik (4):
xfs: preserve i_state around inode_init_always in xfs_reinit_inode
vfs: partially sanitize i_state zeroing on inode creation
xfs: remove now spurious i_state initialization in xfs_inode_alloc
bcachefs: remove now spurious i_state initialization

 fs/bcachefs/fs.c    |  1 -
 fs/inode.c          | 13 +++----------
 fs/xfs/xfs_icache.c |  5 +++--
 3 files changed, 6 insertions(+), 13 deletions(-)
Signature · 1 line
2.43.0