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/block/cciss.c
> ===================================================================
> --- linux-2.6.orig/drivers/block/cciss.c	2010-06-16 21:15:41.146013877 +0200
> +++ linux-2.6/drivers/block/cciss.c	2010-06-17 13:21:19.111254972 +0200
> @@ -3043,7 +3045,7 @@ static inline void complete_command(ctlr
>  		}
>  		break;
>  	case CMD_DATA_OVERRUN:
> -		if (blk_fs_request(cmd->rq))
> +		if (cmd->rq->cmd_type == REQ_TYPE_FS) {
>  			printk(KERN_WARNING "cciss: cmd %p has"
>  			       " completed with data overrun "
>  			       "reported\n", cmd);

Woops...

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