]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
bcache: Move couple of string arrays to sysfs.c
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 28 May 2018 07:37:42 +0000 (15:37 +0800)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit47be6a38fcf8f56d8a25cd4b10ce6bf8129cf8a1
treeefa1ecf2bf0da8db8f24741c8a791234274a2348
parent8b14a42dea23681956a2eb4bcdae1ddb6b59d7a7
bcache: Move couple of string arrays to sysfs.c

BugLink: https://bugs.launchpad.net/bugs/1784665
There is couple of string arrays 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 04cbc21137bfa4d7b8771a5b14f3d6c9b2aee671)
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/bcache.h
drivers/md/bcache/super.c
drivers/md/bcache/sysfs.c