device property: Add fwnode_is_ancestor_of() and fwnode_get_next_parent_dev()
[linux-2.6-microblaze.git] / fs / xfs / xfs_trans.c
index ca18a04..c94e71f 100644 (file)
@@ -959,7 +959,7 @@ xfs_trans_cancel(
                struct xfs_log_item *lip;
 
                list_for_each_entry(lip, &tp->t_items, li_trans)
-                       ASSERT(!(lip->li_type == XFS_LI_EFD));
+                       ASSERT(!xlog_item_is_intent_done(lip));
        }
 #endif
        xfs_trans_unreserve_and_mod_sb(tp);