]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit841e93f3eedcb366441c4a9bc11e0732974a2cfc
treef853a5d53da1577708975cae8aa0775039e279d0
parent5cd69f951f80d28f36660e93f23ab31ac5a0a225
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