*/
                        refcount_inc(&cb->pending_bios);
 
-                       if (!(BTRFS_I(inode)->flags & BTRFS_INODE_NODATASUM)) {
-                               ret = btrfs_lookup_bio_sums(inode, comp_bio,
-                                                           (u64)-1, sums);
-                               BUG_ON(ret); /* -ENOMEM */
-                       }
+                       ret = btrfs_lookup_bio_sums(inode, comp_bio, (u64)-1,
+                                                   sums);
+                       BUG_ON(ret); /* -ENOMEM */
 
                        nr_sectors = DIV_ROUND_UP(comp_bio->bi_iter.bi_size,
                                                  fs_info->sectorsize);
        ret = btrfs_bio_wq_end_io(fs_info, comp_bio, BTRFS_WQ_ENDIO_DATA);
        BUG_ON(ret); /* -ENOMEM */
 
-       if (!(BTRFS_I(inode)->flags & BTRFS_INODE_NODATASUM)) {
-               ret = btrfs_lookup_bio_sums(inode, comp_bio, (u64)-1, sums);
-               BUG_ON(ret); /* -ENOMEM */
-       }
+       ret = btrfs_lookup_bio_sums(inode, comp_bio, (u64)-1, sums);
+       BUG_ON(ret); /* -ENOMEM */
 
        ret = btrfs_map_bio(fs_info, comp_bio, mirror_num);
        if (ret) {
 
                                                           mirror_num,
                                                           bio_flags);
                        goto out;
-               } else if (!skip_sum) {
+               } else {
+                       /*
+                        * Lookup bio sums does extra checks around whether we
+                        * need to csum or not, which is why we ignore skip_sum
+                        * here.
+                        */
                        ret = btrfs_lookup_bio_sums(inode, bio, (u64)-1, NULL);
                        if (ret)
                                goto out;
                struct bio *dio_bio, loff_t file_offset)
 {
        const bool write = (bio_op(dio_bio) == REQ_OP_WRITE);
-       const bool csum = !(BTRFS_I(inode)->flags & BTRFS_INODE_NODATASUM);
        struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb);
        const bool raid56 = (btrfs_data_alloc_profile(fs_info) &
                             BTRFS_BLOCK_GROUP_RAID56_MASK);
                return BLK_QC_T_NONE;
        }
 
-       if (!write && csum) {
+       if (!write) {
                /*
                 * Load the csums up front to reduce csum tree searches and
                 * contention when submitting bios.
+                *
+                * If we have csums disabled this will do nothing.
                 */
                status = btrfs_lookup_bio_sums(inode, dio_bio, file_offset,
                                               dip->csums);