Skip to content

btrfs: bypass UUID API aliasing

Andy Shevchenko linux-btrfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 6 repliesIn review
  2. v34 patches 4 repliesSuperseded

Change v3 from the cover letter

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

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4uuid: Add inline helpers to import / export UUIDsinclude/linux/uuid.h+20 -01 reply
2/4uuid: Provide a GUID generator for raw bufferinclude/linux/uuid.h lib/uuid.c+11 -01 reply
3/4Btrfs: Switch to use new generic UUID APIfs/btrfs/disk-io.c fs/btrfs/ioctl.c fs/btrfs/root-tree.c +1 more+8 -131 reply
4/4uuid: Remove no more needed macroinclude/linux/uuid.h+0 -11 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/4A-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

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

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(-)
Signature · 1 line
2.25.0