Skip to content

ocfs2: validate active orphan slots during inode read

ZhengYuan Huang lkml ocfs2-devel 1 version Applied

Status from this message: [merged mm-nonmm-stable] ocfs2-validate-dio-orphan-slot-during-inode-read.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2ocfs2: validate orphan slot during inode readfs/ocfs2/inode.c+8 -01 replyApplied
2/2ocfs2: validate DIO orphan slot during inode readfs/ocfs2/inode.c+8 -01 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJoseph Qi
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] ocfs2: validate active orphan slots during inode read

OCFS2 trusts active ordinary and append-DIO orphan slots read from dinodes. A corrupted slot can therefore index osb_orphan_wipes or the slot-local system-inode cache outside their allocations before the corruption is reported.

Patch 1 validates the ordinary orphan slot used by inode wipe processing. Patch 2 validates the append-DIO orphan slot used by DIO completion and orphan recovery. Both checks reject corrupt metadata at the existing inode validation boundary.

ZhengYuan Huang (2):
ocfs2: validate orphan slot during inode read
ocfs2: validate DIO orphan slot during inode read

 fs/ocfs2/inode.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
Signature · 1 line
2.43.0