Skip to content
Commit 80a787ba authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Jens Axboe
Browse files

dm: dont rewrite dm_disk(md)->part0.in_flight



generic_start_io_acct and generic_end_io_acct already update the variable
in_flight using atomic operations, so we don't have to overwrite them
again.

Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 96f77410
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment