Loading block/blk-wbt.c +2 −3 Original line number Diff line number Diff line Loading @@ -575,10 +575,9 @@ static inline bool wbt_should_throttle(struct rq_wb *rwb, struct bio *bio) const int op = bio_op(bio); /* * If not a WRITE (or a discard or write zeroes), do nothing * If not a WRITE, do nothing */ if (!(op == REQ_OP_WRITE || op == REQ_OP_DISCARD || op == REQ_OP_WRITE_ZEROES)) if (op != REQ_OP_WRITE) return false; /* Loading Loading
block/blk-wbt.c +2 −3 Original line number Diff line number Diff line Loading @@ -575,10 +575,9 @@ static inline bool wbt_should_throttle(struct rq_wb *rwb, struct bio *bio) const int op = bio_op(bio); /* * If not a WRITE (or a discard or write zeroes), do nothing * If not a WRITE, do nothing */ if (!(op == REQ_OP_WRITE || op == REQ_OP_DISCARD || op == REQ_OP_WRITE_ZEROES)) if (op != REQ_OP_WRITE) return false; /* Loading