workqueue: Remove the warning in wq_worker_sleeping()
[linux-2.6-microblaze.git] / fs / xfs / xfs_buf_item.c
index 663810e..1545657 100644 (file)
@@ -345,7 +345,7 @@ xfs_buf_item_format(
         * occurs during recovery.
         */
        if (bip->bli_flags & XFS_BLI_INODE_BUF) {
-               if (xfs_sb_version_hascrc(&lip->li_mountp->m_sb) ||
+               if (xfs_sb_version_has_v3inode(&lip->li_mountp->m_sb) ||
                    !((bip->bli_flags & XFS_BLI_INODE_ALLOC_BUF) &&
                      xfs_log_item_in_current_chkpt(lip)))
                        bip->__bli_format.blf_flags |= XFS_BLF_INODE_BUF;