diff options
Diffstat (limited to 'fs/xfs/xfs_iget.c')
-rw-r--r-- | fs/xfs/xfs_iget.c | 5 |
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 | /* |