diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-08-28 21:53:12 -0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 21:40:24 -0400 |
commit | 0a74cd1964501fdb577176f14ed3d02b8e148127 (patch) | |
tree | ec4aa3dff46b141cd60734bb6c8a0c6b6a2e7111 /fs/xfs/linux-2.6/xfs_iops.c | |
parent | 2aeaa258c0527026228c43148ec6dffdc56bea1c (diff) |
[XFS] kill struct bhv_vnode
Now that struct bhv_vnode is empty we can just kill it. Retain bhv_vnode_t
as a typedef for struct inode for the time being until all the fallout is
cleaned up.
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29500a
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_iops.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_iops.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c index 98d5a7e13bd5..59ba1dc65fa6 100644 --- a/fs/xfs/linux-2.6/xfs_iops.c +++ b/fs/xfs/linux-2.6/xfs_iops.c | |||
@@ -65,9 +65,8 @@ xfs_synchronize_atime( | |||
65 | 65 | ||
66 | vp = XFS_ITOV_NULL(ip); | 66 | vp = XFS_ITOV_NULL(ip); |
67 | if (vp) { | 67 | if (vp) { |
68 | struct inode *inode = &vp->v_inode; | 68 | ip->i_d.di_atime.t_sec = (__int32_t)vp->i_atime.tv_sec; |
69 | ip->i_d.di_atime.t_sec = (__int32_t)inode->i_atime.tv_sec; | 69 | ip->i_d.di_atime.t_nsec = (__int32_t)vp->i_atime.tv_nsec; |
70 | ip->i_d.di_atime.t_nsec = (__int32_t)inode->i_atime.tv_nsec; | ||
71 | } | 70 | } |
72 | } | 71 | } |
73 | 72 | ||
@@ -327,7 +326,7 @@ xfs_vn_mknod( | |||
327 | if (!error) { | 326 | if (!error) { |
328 | error = _ACL_INHERIT(vp, &vattr, default_acl); | 327 | error = _ACL_INHERIT(vp, &vattr, default_acl); |
329 | if (!error) | 328 | if (!error) |
330 | xfs_iflags_set(XFS_I(&vp->v_inode), XFS_IMODIFIED); | 329 | xfs_iflags_set(XFS_I(vp), XFS_IMODIFIED); |
331 | else | 330 | else |
332 | xfs_cleanup_inode(dir, vp, dentry, mode); | 331 | xfs_cleanup_inode(dir, vp, dentry, mode); |
333 | } | 332 | } |