dm: allow targets to return output from messages they are sent
[linux-block.git] / drivers / md / dm-switch.c
index 8d0ba879777e486cbc4f9fc84600fdc7ba82c5ba..8f9208c2d2e3b6edc07fd10b209c4cf99c157c4f 100644 (file)
@@ -466,7 +466,8 @@ static int process_set_region_mappings(struct switch_ctx *sctx,
  *
  * Only set_region_mappings is supported.
  */
-static int switch_message(struct dm_target *ti, unsigned argc, char **argv)
+static int switch_message(struct dm_target *ti, unsigned argc, char **argv,
+                         char *result, unsigned maxlen)
 {
        static DEFINE_MUTEX(message_mutex);