commit | 80a787ba3809deb694ee632919badb73890daf05 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Thu Dec 06 11:41:16 2018 -0500 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Dec 10 08:30:37 2018 -0700 |
tree | d7ff1137fc58685d26b86a8fe845a21c8e6cfa90 | |
parent | 96f774106ed48808a5e314741e3414c617d14460 [diff] |
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: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>