Skip to content

XFS: sanitise VFS inode extraction

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3XFS: Avoid directly referencing the VFS inode.fs/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

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 consiѕtent 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.

Diffstat:

 xfs/linux-2.6/xfs_export.c  |    6 +++---
 xfs/linux-2.6/xfs_fs_subr.c |    6 +++---
 xfs/linux-2.6/xfs_ioctl.c   |    4 ++--
 xfs/linux-2.6/xfs_iops.c    |   16 ++++++++--------
 xfs/linux-2.6/xfs_iops.h    |    6 ------
 xfs/linux-2.6/xfs_linux.h   |    2 +-
 xfs/linux-2.6/xfs_lrw.c     |    2 +-
 xfs/linux-2.6/xfs_super.c   |    6 +++---
 xfs/linux-2.6/xfs_vnode.c   |    2 +-
 xfs/quota/xfs_dquot.c       |    2 +-
 xfs/quota/xfs_qm_syscalls.c |    2 +-
 xfs/xfs_bmap.c              |    2 +-
 xfs/xfs_dfrag.c             |    4 ++--
 xfs/xfs_iget.c              |    7 ++++---
 xfs/xfs_inode.c             |    4 ++--
 xfs/xfs_inode.h             |   24 +++++++++++++++++++-----
 xfs/xfs_itable.c            |    2 +-
 xfs/xfs_utils.c             |    4 ++--
 xfs/xfs_utils.h             |    4 ++--
 xfs/xfs_vfsops.c            |   10 +++++-----
 xfs/xfs_vnodeops.c          |   12 ++++++------
 21 files changed, 68 insertions(+), 59 deletions(-)