On Thu, Sep 29, 2016 at 09:56:01AM -0700, Christoph Hellwig wrote: > > +/* The XFS_REFCOUNT_EXTENT_* in xfs_log_format.h must match these. */ > > +enum xfs_refcount_intent_type { > > + XFS_REFCOUNT_INCREASE = 1, > > + XFS_REFCOUNT_DECREASE, > > + XFS_REFCOUNT_ALLOC_COW, > > + XFS_REFCOUNT_FREE_COW, > > +}; > > That's a nightmare for maintability! Either we use > XFS_REFCOUNT_EXTENT_* directly, or we need a helper to convert > between them. I'll simply use the values directly. --D -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html