public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] XFS: sanitise VFS inode extraction
@ 2008-07-20 12:43 Dave Chinner
  2008-07-20 12:43 ` [PATCH 1/3] XFS: Avoid directly referencing the VFS inode Dave Chinner
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Dave Chinner @ 2008-07-20 12:43 UTC (permalink / raw)
  To: xfs

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(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/3] XFS: sanitise VFS inode extraction V2
@ 2008-07-21 11:46 Dave Chinner
  2008-07-21 11:46 ` [PATCH 3/3] XFS: Kill shouty XFS_ITOV() macro Dave Chinner
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Chinner @ 2008-07-21 11:46 UTC (permalink / raw)
  To: xfs

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-21 11:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-20 12:43 [PATCH 0/3] XFS: sanitise VFS inode extraction Dave Chinner
2008-07-20 12:43 ` [PATCH 1/3] XFS: Avoid directly referencing the VFS inode Dave Chinner
2008-07-20 12:43 ` [PATCH 2/3] XFS: kill shouty XFS_ITOV_NULL macro Dave Chinner
2008-07-20 12:43 ` [PATCH 3/3] XFS: Kill shouty XFS_ITOV() macro Dave Chinner
2008-07-21  8:01 ` [PATCH 0/3] XFS: sanitise VFS inode extraction Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2008-07-21 11:46 [PATCH 0/3] XFS: sanitise VFS inode extraction V2 Dave Chinner
2008-07-21 11:46 ` [PATCH 3/3] XFS: Kill shouty XFS_ITOV() macro Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox