]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dm: export dm_copy_name_and_uuid
authorMike Snitzer <snitzer@redhat.com>
Thu, 1 Oct 2020 19:00:56 +0000 (15:00 -0400)
committerMike Snitzer <snitzer@redhat.com>
Thu, 1 Oct 2020 19:03:40 +0000 (15:03 -0400)
Allow DM targets to access the configured name and uuid.
Also, bump DM ioctl version.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-ioctl.c
include/uapi/linux/dm-ioctl.h

index 28122e850ea11222dce87f12583835e4a1d37a1f..cd0478d44058b0c58fdd2004a82bf68a5c904563 100644 (file)
@@ -2044,7 +2044,7 @@ out:
 
        return r;
 }
-
+EXPORT_SYMBOL_GPL(dm_copy_name_and_uuid);
 
 /**
  * dm_early_create - create a mapped device in early boot.
index 6622912c2342edc0acf9a55f8a1affa2f12a4763..4933b6b67b8550ba9b287847a1b0709d8e110338 100644 (file)
@@ -272,9 +272,9 @@ enum {
 #define DM_DEV_SET_GEOMETRY    _IOWR(DM_IOCTL, DM_DEV_SET_GEOMETRY_CMD, struct dm_ioctl)
 
 #define DM_VERSION_MAJOR       4
-#define DM_VERSION_MINOR       42
+#define DM_VERSION_MINOR       43
 #define DM_VERSION_PATCHLEVEL  0
-#define DM_VERSION_EXTRA       "-ioctl (2020-02-27)"
+#define DM_VERSION_EXTRA       "-ioctl (2020-10-01)"
 
 /* Status bits */
 #define DM_READONLY_FLAG       (1 << 0) /* In/Out */