[PATCH v4 0/4] btrfs: bypass UUID API aliasing

Andy Shevchenko
2020-02-24T15:37:58Z

UUID API has been converted to differentiate UUID and GUID.
Btrfs is using aliases to the new API for some time.

Bypass that aliasing by converting btrfs to use API calls directly.

The series has been compiled only.

P.S. It may be applied either to btrfs tree or to UUID one.

Change v3:
- rebase to latest kernel base (Linux Next)
- explain in cover letter purpose of conversion (Johannes)

Andy Shevchenko (4):
uuid: Add inline helpers to import / export UUIDs
uuid: Provide a GUID generator for raw buffer
Btrfs: Switch to use new generic UUID API
uuid: Remove no more needed macro

fs/btrfs/disk-io.c | 6 +++---
fs/btrfs/ioctl.c | 4 +---
fs/btrfs/root-tree.c | 4 +---
fs/btrfs/transaction.c | 7 +++----
include/linux/uuid.h | 22 +++++++++++++++++++++-
lib/uuid.c | 10 ++++++++++
6 files changed, 39 insertions(+), 14 deletions(-)

--
2.25.0