xfs: add CRC checking to dir2 data blocks
[firefly-linux-kernel-4.4.55.git] / fs / xfs / xfs_file.c
index f03bf1a456fbcacf43cc4999124a5d9072d733f0..cf6eacd4169abb8ab6cd9c32f13ae15138ca784d 100644 (file)
@@ -893,7 +893,7 @@ xfs_dir_open(
         */
        mode = xfs_ilock_map_shared(ip);
        if (ip->i_d.di_nextents > 0)
-               xfs_dir2_data_readahead(NULL, ip, 0, -1);
+               xfs_dir3_data_readahead(NULL, ip, 0, -1);
        xfs_iunlock(ip, mode);
        return 0;
 }