Skip to content

XFS: sanitise VFS inode extraction V2

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3XFS: Avoid directly referencing the VFS inode V2fs/xfs/linux-2.6/xfs_export.c fs/xfs/linux-2.6/xfs_fs_subr.c fs/xfs/linux-2.6/xfs_iops.c +6 more+41 -300 replies
2/3XFS: kill shouty XFS_ITOV_NULL macrofs/xfs/linux-2.6/xfs_vnode.c fs/xfs/quota/xfs_qm_syscalls.c fs/xfs/xfs_inode.h +2 more+4 -50 replies
3/3XFS: Kill shouty XFS_ITOV() macrofs/xfs/linux-2.6/xfs_ioctl.c fs/xfs/linux-2.6/xfs_iops.c fs/xfs/linux-2.6/xfs_linux.h +10 more+23 -240 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] XFS: sanitise VFS inode extraction V2

Getting the VFS inode from the XFS inode is done in a variety of ways right now - direct deference or one of two XFS_ITOV macros. This should be consistent throughout the code - this patch series does that in a way that is consistent with the opposite XFS_I() conversion. We now use VFS_I() to extract the VFS inode from the XFS inode.

Version 2:
o don't use vn_to_inode() and inode_to_vn() functions as they are not needed
o rediff patches 2 and 3 against the change patch.