aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iget.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2007-08-28 20:58:01 -0400
committerTim Shimmin <tes@chook.melbourne.sgi.com>2007-10-15 20:40:00 -0400
commit739bfb2a7dfa369324f74aad1d020d6e0775e4f0 (patch)
tree8fbe3e739e0d550137e3f148a36ce5c083f5ef2c /fs/xfs/xfs_iget.c
parent993386c19afa53fa54d00c7721e56ba820b3400d (diff)
[XFS] call common xfs vnode-level helpers directly and remove vnode operations
SGI-PV: 969608 SGI-Modid: xfs-linux-melb:xfs-kern:29493a 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/xfs_iget.c')
-rw-r--r--fs/xfs/xfs_iget.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/xfs/xfs_iget.c b/fs/xfs/xfs_iget.c
index e07dcc1b70a6..5806597b9ec4 100644
--- a/fs/xfs/xfs_iget.c
+++ b/fs/xfs/xfs_iget.c
@@ -342,7 +342,7 @@ finish_inode:
342 * If we have a real type for an on-disk inode, we can set ops(&unlock) 342 * If we have a real type for an on-disk inode, we can set ops(&unlock)
343 * now. If it's a new inode being created, xfs_ialloc will handle it. 343 * now. If it's a new inode being created, xfs_ialloc will handle it.
344 */ 344 */
345 bhv_vfs_init_vnode(XFS_MTOVFS(mp), vp, XFS_ITOBHV(ip), 1); 345 bhv_vfs_init_vnode(XFS_MTOVFS(mp), vp, ip, 1);
346 346
347 return 0; 347 return 0;
348} 348}
@@ -536,7 +536,8 @@ xfs_ireclaim(xfs_inode_t *ip)
536 */ 536 */
537 vp = XFS_ITOV_NULL(ip); 537 vp = XFS_ITOV_NULL(ip);
538 if (vp) { 538 if (vp) {
539 vn_bhv_remove(VN_BHV_HEAD(vp), XFS_ITOBHV(ip)); 539 vn_to_inode(vp)->i_private = NULL;
540 ip->i_vnode = NULL;
540 } 541 }
541 542
542 /* 543 /*