Re: linux-next: build failure after merge of the block tree

From: Christoph Hellwig
Date: Tue Aug 03 2010 - 04:27:16 EST


On Tue, Aug 03, 2010 at 01:12:02PM +1000, Stephen Rothwell wrote:
> I applied the following merge fix patch (Christoph, I assume that this
> should be directly applicable to the ceph tree, right?):

Yes, it looks good.

> - if (!blk_fs_request(rq) && !blk_barrier_rq(rq)) {
> + if ((rq->cmd_type != REQ_TYPE_FS) &&
> + !(rq->cmd_flags & REQ_HARDBARRIER)) {
> __blk_end_request_all(rq, 0);
> goto next;

Although these days barriers are REQ_TYPE_FS anyway, so the second check
is superflous.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/