Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drbd: remove a bogus bdi_rw_congested call

bdi_rw_congested returns congestion state, so calling it without
looking at the return value doesn't make much sense.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Christoph Hellwig and committed by
Jens Axboe
d5c69838 9eb994ec

-1
-1
drivers/block/drbd/drbd_proc.c
··· 265 265 seq_printf(seq, "%2d: cs:Unconfigured\n", i); 266 266 } else { 267 267 /* reset device->congestion_reason */ 268 - bdi_rw_congested(device->rq_queue->backing_dev_info); 269 268 270 269 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); 271 270 wp = nc ? nc->wire_protocol - DRBD_PROT_A + 'A' : ' ';