aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iget.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_iget.c')
-rw-r--r--fs/xfs/xfs_iget.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_iget.c b/fs/xfs/xfs_iget.c
index 03f32c68731f..772bbc7a8ac9 100644
--- a/fs/xfs/xfs_iget.c
+++ b/fs/xfs/xfs_iget.c
@@ -343,8 +343,7 @@ finish_inode:
343 * If we have a real type for an on-disk inode, we can set ops(&unlock) 343 * If we have a real type for an on-disk inode, we can set ops(&unlock)
344 * now. If it's a new inode being created, xfs_ialloc will handle it. 344 * now. If it's a new inode being created, xfs_ialloc will handle it.
345 */ 345 */
346 bhv_vfs_init_vnode(XFS_MTOVFS(mp), vp, ip, 1); 346 xfs_initialize_vnode(mp, vp, ip);
347
348 return 0; 347 return 0;
349} 348}
350 349
@@ -370,7 +369,8 @@ xfs_iget(
370 XFS_STATS_INC(xs_ig_attempts); 369 XFS_STATS_INC(xs_ig_attempts);
371 370
372retry: 371retry:
373 if ((inode = iget_locked(XFS_MTOVFS(mp)->vfs_super, ino))) { 372 inode = iget_locked(XFS_MTOVFS(mp)->vfs_super, ino);
373 if (inode) {
374 xfs_inode_t *ip; 374 xfs_inode_t *ip;
375 375
376 vp = vn_from_inode(inode); 376 vp = vn_from_inode(inode);