浏览代码

[XFS] remove over-eager assert

SGI-PV: 941804
SGI-Modid: xfs-linux-melb:xfs-kern:201702a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Christoph Hellwig 19 年之前
父节点
当前提交
f60d36690c
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      fs/xfs/xfs_vnodeops.c

+ 0 - 1
fs/xfs/xfs_vnodeops.c

@@ -3829,7 +3829,6 @@ xfs_reclaim(
 	vn_iowait(vp);
 
 	ASSERT(XFS_FORCED_SHUTDOWN(ip->i_mount) || ip->i_delayed_blks == 0);
-	ASSERT(VN_CACHED(vp) == 0);
 
 	/* If we have nothing to flush with this inode then complete the
 	 * teardown now, otherwise break the link between the xfs inode