Re: [PATCH 11/63] xfs: log refcount intent items

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +/* 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.

--
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



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux