]> asedeno.scripts.mit.edu Git - linux.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)
commit934031a12980511c020acf7d91f9035e34d0b5b8
tree510dde2e8e992a1a7bf4f112de5e2a419ceab823
parent782f569774d7000e54ae9d680b0e4cd29b1c7ca3
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