From: Heinz Mauelshagen Subject: dm cache policy: fix default DMEMIT in policy_emit_config_values Add missing leading space to DMEMIT for case when the policy doesn't provide emit_config_values(). [FIXME: I don't think we need this.. in fact it appears to introduce double spaces if policy doesn't define emit_config_values] Signed-off-by: Heinz Mauelshagen Signed-off-by: Joe Thornber --- drivers/md/dm-cache-policy-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux/drivers/md/dm-cache-policy-internal.h =================================================================== --- linux.orig/drivers/md/dm-cache-policy-internal.h +++ linux/drivers/md/dm-cache-policy-internal.h @@ -87,7 +87,7 @@ static inline int policy_emit_config_val if (p->emit_config_values) return p->emit_config_values(p, result, maxlen); - DMEMIT("0"); + DMEMIT(" 0"); return 0; }