public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] btrfs: move btrfs_fs_info and some prototypes
@ 2022-10-24 18:46 Josef Bacik
  2022-10-24 18:46 ` [PATCH 1/9] btrfs: move btrfs_fs_info declarations into fs.h Josef Bacik
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Josef Bacik @ 2022-10-24 18:46 UTC (permalink / raw)
  To: linux-btrfs, kernel-team

Hello,

This is the next batch of ctree.h cleanups, and likely the last one for a little
bit.  The remaining prototypes in ctree.h are going to be touched by a lot of
work that's currently happening, and I don't want to mess with peoples work now
that we're getting into the development cycle a little bit.

The big thing I've done is moved btrfs_fs_info into fs.h.  This is relatively
painless at this poing since I've organized everything up to now so I can just
copy and paste the big chunk of it out of ctree.h into fs.h.

Then I've gone through and cleaned up a lot of randomm little things, and then
moved some prototypes into their own headers.

I stopped where we got to the name stuff, as I know the fscrypt stuff is going
to touch all of that.  I don't want to make that harder to merge, so I've
stopped here so that code can go in when it's ready, and then we can pick back
up cleaning up the rest of ctree.h.

The entirety of these changes are just code moving, there's been no functional
changing.  Thanks,

Josef

Josef Bacik (9):
  btrfs: move btrfs_fs_info declarations into fs.h
  btrfs: move the lockdep helpers into locking.h
  btrfs: minor whitespace in ctree.h
  btrfs: remove extra space info prototypes in ctree.h
  btrfs: move btrfs_account_ro_block_groups_free_space into space-info.c
  btrfs: move extent-tree helpers into their own header file
  btrfs: move delalloc space related prototypes to delalloc-space.h
  btrfs: delete unused function prototypes in ctree.h
  btrfs: move root tree prototypes to their own header

 fs/btrfs/backref.c         |   1 +
 fs/btrfs/block-group.c     |   1 +
 fs/btrfs/ctree.c           |   1 +
 fs/btrfs/ctree.h           | 854 +------------------------------------
 fs/btrfs/delalloc-space.h  |   3 +
 fs/btrfs/disk-io.c         |   2 +
 fs/btrfs/extent-tree.c     |  36 +-
 fs/btrfs/extent-tree.h     |  76 ++++
 fs/btrfs/file.c            |   1 +
 fs/btrfs/free-space-tree.c |   2 +
 fs/btrfs/fs.h              | 657 ++++++++++++++++++++++++++++
 fs/btrfs/inode-item.c      |   1 +
 fs/btrfs/inode.c           |   2 +
 fs/btrfs/ioctl.c           |   2 +
 fs/btrfs/locking.h         |  76 ++++
 fs/btrfs/qgroup.c          |   2 +
 fs/btrfs/relocation.c      |   2 +
 fs/btrfs/root-tree.c       |   1 +
 fs/btrfs/root-tree.h       |  36 ++
 fs/btrfs/space-info.c      |  35 ++
 fs/btrfs/space-info.h      |   1 +
 fs/btrfs/transaction.c     |   2 +
 fs/btrfs/tree-log.c        |   2 +
 23 files changed, 909 insertions(+), 887 deletions(-)
 create mode 100644 fs/btrfs/extent-tree.h
 create mode 100644 fs/btrfs/root-tree.h

-- 
2.26.3


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

end of thread, other threads:[~2022-10-25 12:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-24 18:46 [PATCH 0/9] btrfs: move btrfs_fs_info and some prototypes Josef Bacik
2022-10-24 18:46 ` [PATCH 1/9] btrfs: move btrfs_fs_info declarations into fs.h Josef Bacik
2022-10-24 18:46 ` [PATCH 2/9] btrfs: move the lockdep helpers into locking.h Josef Bacik
2022-10-24 18:46 ` [PATCH 3/9] btrfs: minor whitespace in ctree.h Josef Bacik
2022-10-24 18:46 ` [PATCH 4/9] btrfs: remove extra space info prototypes " Josef Bacik
2022-10-24 18:46 ` [PATCH 5/9] btrfs: move btrfs_account_ro_block_groups_free_space into space-info.c Josef Bacik
2022-10-24 18:46 ` [PATCH 6/9] btrfs: move extent-tree helpers into their own header file Josef Bacik
2022-10-24 18:46 ` [PATCH 7/9] btrfs: move delalloc space related prototypes to delalloc-space.h Josef Bacik
2022-10-24 18:46 ` [PATCH 8/9] btrfs: delete unused function prototypes in ctree.h Josef Bacik
2022-10-24 18:47 ` [PATCH 9/9] btrfs: move root tree prototypes to their own header Josef Bacik
2022-10-25 12:25 ` [PATCH 0/9] btrfs: move btrfs_fs_info and some prototypes David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox