Re: [PATCH 1/2] block: remove wrappers for request type/flags

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

 



On 2010-06-18 09:46, Christoph Hellwig wrote:
> Index: linux-2.6/drivers/md/dm.c
> ===================================================================
> --- linux-2.6.orig/drivers/md/dm.c	2010-06-16 21:15:41.291004448 +0200
> +++ linux-2.6/drivers/md/dm.c	2010-06-17 13:27:26.162009965 +0200
> @@ -792,12 +792,12 @@ static void dm_end_request(struct reques
>  {
>  	int rw = rq_data_dir(clone);
>  	int run_queue = 1;
> -	bool is_barrier = blk_barrier_rq(clone);
> +	bool is_barrier = (clone->cmd_flags & REQ_HARDBARRIER)
>  	struct dm_rq_target_io *tio = clone->end_io_data;
>  	struct mapped_device *md = tio->md;
>  	struct request *rq = tio->orig;

Ahem... I think we can safely conclude that you did NOT script the
conversion. I'm not too worried about the typos that cause compilation
failures, I'm worried about the ones that do not.

-- 
Jens Axboe

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


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux