diff options
author | Rakesh Pandit <rakesh@tuxera.com> | 2017-10-13 14:46:00 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-13 08:34:57 -0600 |
commit | 32825ebb06fafeff463ed23e9d0dea459ebd30fe (patch) | |
tree | de940ed6e2f5cdf6cf7e3ed202ce06edce7e796d /drivers/lightnvm/pblk-sysfs.c | |
parent | c79819bc0877e4cbed8013b1abc9697e8805b21b (diff) | |
download | linux-32825ebb06fafeff463ed23e9d0dea459ebd30fe.tar.gz linux-32825ebb06fafeff463ed23e9d0dea459ebd30fe.tar.xz |
lightnvm: pblk: reuse pblk_gc_should_kick
This is a trivial change which reuses pblk_gc_should_kick instead of
repeating it again in pblk_rl_free_lines_inc.
Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
Made it apply to the common case.
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/pblk-sysfs.c')
0 files changed, 0 insertions, 0 deletions