]> git.baikalelectronics.ru Git - 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)
commit3453d4c5bb22821fb4f5b9ad61bad1cebbd4341c
tree85e190ec6239a4b57f72eb96c034a78279ba8546
parentb4e48a15916b002c0a4e482479fc43b0d9c54ce4
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