diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-08-30 03:20:31 -0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 21:43:55 -0400 |
commit | 48c872a9f3ec4cdc37801aae9ef16c80026503ea (patch) | |
tree | 51d377e7ced7298d96daf9008558e54177e47a30 /fs/xfs/linux-2.6/xfs_super.c | |
parent | b09cc77109dbf33463480952de10511a2b67bba6 (diff) |
[XFS] decontaminate vfs operations from behavior details
All vfs ops now take struct xfs_mount pointers and the behaviour related
glue is split out into methods of its own.
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29504a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c index 103add6eccb6..0cb149ad65cc 100644 --- a/fs/xfs/linux-2.6/xfs_super.c +++ b/fs/xfs/linux-2.6/xfs_super.c | |||
@@ -202,7 +202,7 @@ xfs_revalidate_inode( | |||
202 | 202 | ||
203 | void | 203 | void |
204 | xfs_initialize_vnode( | 204 | xfs_initialize_vnode( |
205 | bhv_desc_t *bdp, | 205 | struct xfs_mount *mp, |
206 | bhv_vnode_t *vp, | 206 | bhv_vnode_t *vp, |
207 | struct xfs_inode *ip, | 207 | struct xfs_inode *ip, |
208 | int unlock) | 208 | int unlock) |
@@ -222,7 +222,7 @@ xfs_initialize_vnode( | |||
222 | * finish our work. | 222 | * finish our work. |
223 | */ | 223 | */ |
224 | if (ip->i_d.di_mode != 0 && unlock && (inode->i_state & I_NEW)) { | 224 | if (ip->i_d.di_mode != 0 && unlock && (inode->i_state & I_NEW)) { |
225 | xfs_revalidate_inode(XFS_BHVTOM(bdp), vp, ip); | 225 | xfs_revalidate_inode(mp, vp, ip); |
226 | xfs_set_inodeops(inode); | 226 | xfs_set_inodeops(inode); |
227 | 227 | ||
228 | xfs_iflags_clear(ip, XFS_INEW); | 228 | xfs_iflags_clear(ip, XFS_INEW); |