Commit 774f13ac authored by Heinz Mauelshagen's avatar Heinz Mauelshagen Committed by Mike Snitzer

dm: declare variables static when sensible

Signed-off-by: default avatarHeinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent 23fda2ef
...@@ -859,7 +859,7 @@ static const char *cache_device_name(struct cache *cache) ...@@ -859,7 +859,7 @@ static const char *cache_device_name(struct cache *cache)
static void notify_mode_switch(struct cache *cache, enum cache_metadata_mode mode) static void notify_mode_switch(struct cache *cache, enum cache_metadata_mode mode)
{ {
const char *descs[] = { static const char *descs[] = {
"write", "write",
"read-only", "read-only",
"fail" "fail"
......
...@@ -294,7 +294,7 @@ static enum pool_mode get_pool_mode(struct pool *pool) ...@@ -294,7 +294,7 @@ static enum pool_mode get_pool_mode(struct pool *pool)
static void notify_of_pool_mode_change(struct pool *pool) static void notify_of_pool_mode_change(struct pool *pool)
{ {
const char *descs[] = { static const char *descs[] = {
"write", "write",
"out-of-data-space", "out-of-data-space",
"read-only", "read-only",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment