Re: [PATCH 12/12] xfs: remove duplication in transaction buffer operations

Christoph Hellwig
2011-12-17T23:32:40Z

> @@ -213,8 +147,6 @@ xfs_trans_get_buf_irec(
> struct xfs_buf *bp;
> struct xfs_buf_log_item *bip;
>
> - ASSERT_ALWAYS(nmaps == 1);
> -

Shouldn't this have been removed as soon as actual multiple buffer
support was introduced?

> @@ -528,8 +303,6 @@ xfs_trans_read_buf_irec(
> xfs_buf_log_item_t *bip;
> int error;
>
> - ASSERT_ALWAYS(nmaps == 1);
> -

Same here.