partitions/ldm: Replace uuid_copy() with import_uuid() where it makes sense
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 22 Apr 2020 13:03:17 +0000 (16:03 +0300)
committerJens Axboe <axboe@kernel.dk>
Thu, 18 Jun 2020 15:17:54 +0000 (09:17 -0600)
commitbc163c2046c5867df7d2b03e85bca29adf83fa32
tree64aefeb280bfb90a1f2cbf6e60a2949610aac58d
parentfe35ec58f0d339221643287bbb7cee15c93a5389
partitions/ldm: Replace uuid_copy() with import_uuid() where it makes sense

There is a specific API to treat raw data as UUID, i.e. import_uuid().
Use it instead of uuid_copy() with explicit casting.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/ldm.c