]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commitd9cd7d95c341861d52874bda723f718de10c2200
tree2cfce88d9c4ca2f0beadcee6eb168810b1250e85
parent47be6a38fcf8f56d8a25cd4b10ce6bf8129cf8a1
bcache: Move couple of functions to sysfs.c

BugLink: https://bugs.launchpad.net/bugs/1784665
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>
(cherry picked from commit ecb37ce9baac653cc09e2b631393dde3df82979f)
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/md/bcache/sysfs.c
drivers/md/bcache/util.c
drivers/md/bcache/util.h