mbox series

[00/10] Static inline cleanups

Message ID cover.1708339010.git.dsterba@suse.com (mailing list archive)
Headers show
Series Static inline cleanups | expand

Message

David Sterba Feb. 19, 2024, 11:12 a.m. UTC
Historically there are many static inlines in headers that do not
qualify as such, move them to .c. Some can be open coded.

David Sterba (10):
  btrfs: move balance args conversion helpers to volumes.c
  btrfs: open code btrfs_backref_iter_free()
  btrfs: open code btrfs_backref_get_eb()
  btrfs: uninline some static inline helpers from backref.h
  btrfs: uninline btrfs_init_delayed_root()
  btrfs: drop static inline specifiers from tree-mod-log.c
  btrfs: uninline some static inline helpers from tree-log.h
  btrfs: simplify conditions in btrfs_free_chunk_map()
  btrfs: open code trivial btrfs_lru_cache_size()
  btrfs: uninline some static inline helpers from delayed-ref.h

 fs/btrfs/accessors.h     |  39 -------------
 fs/btrfs/backref.c       |  94 +++++++++++++++++++++++++++++-
 fs/btrfs/backref.h       | 120 ++++-----------------------------------
 fs/btrfs/delayed-inode.c |  11 ++++
 fs/btrfs/delayed-inode.h |  13 +----
 fs/btrfs/delayed-ref.c   |  65 +++++++++++++++++++++
 fs/btrfs/delayed-ref.h   |  72 +++--------------------
 fs/btrfs/lru_cache.h     |   5 --
 fs/btrfs/relocation.c    |   3 +-
 fs/btrfs/send.c          |   7 +--
 fs/btrfs/tree-log.c      |  46 +++++++++++++++
 fs/btrfs/tree-log.h      |  48 +---------------
 fs/btrfs/tree-mod-log.c  |  13 ++---
 fs/btrfs/volumes.c       |  41 ++++++++++++-
 fs/btrfs/volumes.h       |   2 +-
 fs/btrfs/zoned.c         |   3 +-
 16 files changed, 290 insertions(+), 292 deletions(-)