]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/xfs/xfs_inode.c
xfs: remove usage of is_bad_inode
[karo-tx-linux.git] / fs / xfs / xfs_inode.c
index e3d75385aa76a6e45b7711a65bb39c268c9f689b..5ac716b2df2211ec24f0e320ebe3ffacab135370 100644 (file)
@@ -1687,7 +1687,7 @@ xfs_inactive(
         * If the inode is already free, then there can be nothing
         * to clean up here.
         */
-       if (ip->i_d.di_mode == 0 || is_bad_inode(VFS_I(ip))) {
+       if (ip->i_d.di_mode == 0) {
                ASSERT(ip->i_df.if_real_bytes == 0);
                ASSERT(ip->i_df.if_broot_bytes == 0);
                return VN_INACTIVE_CACHE;