X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=block%2Fblk.h;h=ca51543b248ca16f0eb28e937ec321e52f3130c8;hb=7730492855a2f9c828599bcd8d62760f96d319e4;hp=2a0ea32d249fdaa9694e0249e435777565535d70;hpb=bd0d10498826ed150da5e4c45baf8b9c7088fb71;p=cascardo%2Flinux.git diff --git a/block/blk.h b/block/blk.h index 2a0ea32d249f..ca51543b248c 100644 --- a/block/blk.h +++ b/block/blk.h @@ -171,14 +171,13 @@ static inline int queue_congestion_off_threshold(struct request_queue *q) * * a) it's attached to a gendisk, and * b) the queue had IO stats enabled when this request was started, and - * c) it's a file system request or a discard request + * c) it's a file system request */ static inline int blk_do_io_stat(struct request *rq) { return rq->rq_disk && (rq->cmd_flags & REQ_IO_STAT) && - (rq->cmd_type == REQ_TYPE_FS || - (rq->cmd_flags & REQ_DISCARD)); + (rq->cmd_type == REQ_TYPE_FS); } /*