diff --git a/fs/xfs/xfs_bmap_btree.c b/fs/xfs/xfs_bmap_btree.c index 531b0206cce68ac9e35561f0cbe021cea828f619..bb8de8e399c4b351effa08e6669e000438751d37 100644 --- a/fs/xfs/xfs_bmap_btree.c +++ b/fs/xfs/xfs_bmap_btree.c @@ -957,9 +957,9 @@ xfs_bmbt_change_owner( ASSERT(tp || buffer_list); ASSERT(!(tp && buffer_list)); if (whichfork == XFS_DATA_FORK) - ASSERT(ip->i_d.di_format = XFS_DINODE_FMT_BTREE); + ASSERT(ip->i_d.di_format == XFS_DINODE_FMT_BTREE); else - ASSERT(ip->i_d.di_aformat = XFS_DINODE_FMT_BTREE); + ASSERT(ip->i_d.di_aformat == XFS_DINODE_FMT_BTREE); cur = xfs_bmbt_init_cursor(ip->i_mount, tp, ip, whichfork); if (!cur)