Skip to content

Minor compression cleanups

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs: compression: add helper for type to string conversionfs/btrfs/compression.c fs/btrfs/compression.h+17 -02 replies
2/4btrfs: SETFLAGS ioctl: use helper for compression type conversionfs/btrfs/ioctl.c+4 -62 replies
3/4btrfs: prop: use common helper for type to string conversionfs/btrfs/props.c+3 -30 replies
4/4btrfs: show options: use helper to convert compression type stringfs/btrfs/super.c+2 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Minor compression cleanups

Factor opencoded switches for compression algos to helpers.

David Sterba (4):
btrfs: compression: add helper for type to string conversion
btrfs: SETFLAGS ioctl: use helper for compression type conversion
btrfs: prop: use common helper for type to string conversion
btrfs: show options: use helper to convert compression type string

 fs/btrfs/compression.c | 15 +++++++++++++++
 fs/btrfs/compression.h |  2 ++
 fs/btrfs/ioctl.c       | 10 ++++------
 fs/btrfs/props.c       |  6 +++---
 fs/btrfs/super.c       |  9 ++-------
 5 files changed, 26 insertions(+), 16 deletions(-)
Signature · 1 line
2.15.0