Merge tag 'xfs-5.8-merge-8' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[openwrt/staging/blogic.git] / fs / xfs / xfs_aops.c
index 1fd4fb7a607cbcd77c61fcfb85a1ad3be1ccee94..b35611882ff9c565d740c8b80e17633a0096a41e 100644 (file)
@@ -382,7 +382,7 @@ xfs_map_blocks(
         */
 retry:
        xfs_ilock(ip, XFS_ILOCK_SHARED);
-       ASSERT(ip->i_d.di_format != XFS_DINODE_FMT_BTREE ||
+       ASSERT(ip->i_df.if_format != XFS_DINODE_FMT_BTREE ||
               (ip->i_df.if_flags & XFS_IFEXTENTS));
 
        /*