|
@@ -946,10 +946,6 @@ xfs_fs_destroy_inode(
|
|
|
|
|
|
XFS_STATS_INC(vn_reclaim);
|
|
|
|
|
|
- /* bad inode, get out here ASAP */
|
|
|
- if (is_bad_inode(inode))
|
|
|
- goto out_reclaim;
|
|
|
-
|
|
|
ASSERT(XFS_FORCED_SHUTDOWN(ip->i_mount) || ip->i_delayed_blks == 0);
|
|
|
|
|
|
/*
|
|
@@ -965,7 +961,6 @@ xfs_fs_destroy_inode(
|
|
|
* this more efficiently than we can here, so simply let background
|
|
|
* reclaim tear down all inodes.
|
|
|
*/
|
|
|
-out_reclaim:
|
|
|
xfs_inode_set_reclaim_tag(ip);
|
|
|
}
|
|
|
|
|
@@ -1491,10 +1486,6 @@ xfs_fs_fill_super(
|
|
|
error = ENOENT;
|
|
|
goto out_unmount;
|
|
|
}
|
|
|
- if (is_bad_inode(root)) {
|
|
|
- error = EINVAL;
|
|
|
- goto out_unmount;
|
|
|
- }
|
|
|
sb->s_root = d_make_root(root);
|
|
|
if (!sb->s_root) {
|
|
|
error = ENOMEM;
|