]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/xfs/xfs_vnodeops.h
[XFS] decontaminate vnode operations from behavior details
authorChristoph Hellwig <hch@infradead.org>
Tue, 28 Aug 2007 06:12:30 +0000 (16:12 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Mon, 15 Oct 2007 06:54:29 +0000 (16:54 +1000)
commit993386c19afa53fa54d00c7721e56ba820b3400d
tree1715fdeb9cc5ea99466e179b54e84b168fd5e127
parentb93bd20cd59eb7ec172f95d08b100fea688d8bcf
[XFS] decontaminate vnode operations from behavior details

All vnode ops now take struct xfs_inode pointers and the behaviour related
glue is split out into methods of it's own. This required fixing
xfs_create/mkdir/symlink to not mess with the inode pointer but rather use
a separate boolean for error handling. Thanks to Dave Chinner for that
fix.

SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29492a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
20 files changed:
fs/xfs/Makefile-linux-2.6
fs/xfs/linux-2.6/xfs_fs_subr.c
fs/xfs/linux-2.6/xfs_fs_subr.h
fs/xfs/linux-2.6/xfs_ioctl.c
fs/xfs/linux-2.6/xfs_iops.h
fs/xfs/linux-2.6/xfs_lrw.c
fs/xfs/linux-2.6/xfs_lrw.h
fs/xfs/xfs_attr.c
fs/xfs/xfs_attr.h
fs/xfs/xfs_bmap.c
fs/xfs/xfs_bmap.h
fs/xfs/xfs_dir2.c
fs/xfs/xfs_dir2.h
fs/xfs/xfs_rename.c
fs/xfs/xfs_rw.h
fs/xfs/xfs_utils.c
fs/xfs/xfs_utils.h
fs/xfs/xfs_vnodeops.c
fs/xfs/xfs_vnodeops.h [new file with mode: 0644]
fs/xfs/xfs_vnodeops_bhv.c [new file with mode: 0644]