All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Compression level API cleanups
@ 2019-08-20 16:17 David Sterba
  2019-08-20 16:17 ` [PATCH v2 1/2] btrfs: define compression levels statically David Sterba
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: David Sterba @ 2019-08-20 16:17 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

Remove the callback indirection.

v2:
* switch to unsigned int and use min()

David Sterba (2):
  btrfs: define compression levels statically
  btrfs: compression: replace set_level callbacks by a common helper

 fs/btrfs/compression.c | 20 ++++++++++++++++++--
 fs/btrfs/compression.h | 11 +++++------
 fs/btrfs/lzo.c         |  8 ++------
 fs/btrfs/zlib.c        | 11 ++---------
 fs/btrfs/zstd.c        | 11 ++---------
 5 files changed, 29 insertions(+), 32 deletions(-)

-- 
2.22.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-08-21 10:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-20 16:17 [PATCH v2 0/2] Compression level API cleanups David Sterba
2019-08-20 16:17 ` [PATCH v2 1/2] btrfs: define compression levels statically David Sterba
2019-08-21 10:55   ` Anand Jain
2019-08-20 16:17 ` [PATCH v2 2/2] btrfs: compression: replace set_level callbacks by a common helper David Sterba
2019-08-21 10:16   ` Anand Jain
2019-08-21 10:53     ` David Sterba
2019-08-21  6:52 ` [PATCH v2 0/2] Compression level API cleanups Nikolay Borisov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.