]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: pblk: Replace guid_copy() with export_guid()/import_guid()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 14 Feb 2021 10:31:03 +0000 (10:31 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Feb 2021 04:27:24 +0000 (21:27 -0700)
commit5f8807f996c4bb5feea179bd8b3e7b8fdf8811c4
tree2bc39d263f39e8daaab07277168e471973e97508
parent4c9ff90922bf2dc046dbb04084c686fe165200a0
lightnvm: pblk: Replace guid_copy() with export_guid()/import_guid()

There is a specific API to treat raw data as GUID, i.e. export_guid()
and import_guid(). Use them instead of guid_copy() with explicit casting.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-core.c
drivers/lightnvm/pblk-recovery.c