]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
blk-wbt: use BLK_STAT_{READ,WRITE} instead of 0/1
authorJens Axboe <axboe@fb.com>
Fri, 11 Nov 2016 15:23:53 +0000 (08:23 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 11 Nov 2016 23:18:29 +0000 (16:18 -0700)
commit382cf633edcb0371a6dd506653014897c4ac2a4d
tree85e190ec6239a4b57f72eb96c034a78279ba8546
parent8054b89f8fca75d514965ee627a15b47020d2053
blk-wbt: use BLK_STAT_{READ,WRITE} instead of 0/1

Since we have proper enums for the stats directions, use them.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-wbt.c