diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-05-28 10:37:42 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-28 23:53:18 +0300 |
commit | 04cbc21137bfa4d7b8771a5b14f3d6c9b2aee671 (patch) | |
tree | 31e408ad649095b9bc5ec7fd1c0011761486c17c /drivers/md/bcache/bcache.h | |
parent | 0f0709e6bfc3ce4e8e1c0e8573490c45f76cfeee (diff) | |
download | linux-04cbc21137bfa4d7b8771a5b14f3d6c9b2aee671.tar.xz |
bcache: Move couple of string arrays to sysfs.c
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>
Diffstat (limited to 'drivers/md/bcache/bcache.h')
-rw-r--r-- | drivers/md/bcache/bcache.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/bcache/bcache.h b/drivers/md/bcache/bcache.h index ba98547c4ca0..6220cbda55c1 100644 --- a/drivers/md/bcache/bcache.h +++ b/drivers/md/bcache/bcache.h @@ -958,8 +958,6 @@ void bch_prio_write(struct cache *); void bch_write_bdev_super(struct cached_dev *, struct closure *); extern struct workqueue_struct *bcache_wq; -extern const char * const bch_cache_modes[]; -extern const char * const bch_stop_on_failure_modes[]; extern struct mutex bch_register_lock; extern struct list_head bch_cache_sets; |