]> git.baikalelectronics.ru Git - kernel.git/commit
block: move some wbt helpers to blk-wbt.c
authorOmar Sandoval <osandov@fb.com>
Wed, 9 May 2018 09:08:47 +0000 (02:08 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 May 2018 14:33:00 +0000 (08:33 -0600)
commit6718a3234e04aa2333eb998a4e6ff1fc6747ccc1
tree510dde2e8e992a1a7bf4f112de5e2a419ceab823
parentadaa02cd5829fd692788d39995455dfb1dbc15ef
block: move some wbt helpers to blk-wbt.c

A few helpers are only used from blk-wbt.c, so move them there, and put
wbt_track() behind the CONFIG_BLK_WBT typedef. This is in preparation
for changing how the wbt flags are tracked.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-wbt.c
block/blk-wbt.h