bcache: Move couple of functions to sysfs.c
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 28 May 2018 07:37:43 +0000 (15:37 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 28 May 2018 20:53:20 +0000 (14:53 -0600)
commitecb37ce9baac653cc09e2b631393dde3df82979f
treef853a5d53da1577708975cae8aa0775039e279d0
parent04cbc21137bfa4d7b8771a5b14f3d6c9b2aee671
bcache: Move couple of functions to sysfs.c

There is couple of functions that are used exclusively in sysfs.c.
Move it to there and make them static.

Besides above, it will allow further clean up.

No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/sysfs.c
drivers/md/bcache/util.c
drivers/md/bcache/util.h