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

Christoph Hellwig hch at infradead.org
Sat Dec 17 17:32:38 CST 2011


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




More information about the xfs mailing list