btrfs: move btrfs_fs_info and some prototypes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | btrfs: move btrfs_fs_info declarations into fs.hfs/ fs/ | +658 | 0 replies | |
| 2/9 | btrfs: move the lockdep helpers into locking.hfs/ fs/ | +76 | 0 replies | |
| 3/9 | btrfs: minor whitespace in ctree.hfs/ | +0 | 0 replies | |
| 4/9 | btrfs: remove extra space info prototypes in ctree.hfs/ | +0 | 0 replies | |
| 5/9 | btrfs: move btrfs_account_ro_block_groups_free_space into space-info.cfs/ fs/ fs/ +1 more | +35 | 0 replies | |
| 6/9 | btrfs: move extent-tree helpers into their own header filefs/ fs/ fs/ +14 more | +91 | 0 replies | |
| 7/9 | btrfs: move delalloc space related prototypes to delalloc-space.hfs/ fs/ | +3 | 0 replies | |
| 8/9 | btrfs: delete unused function prototypes in ctree.hfs/ | +0 | 0 replies | |
| 9/9 | btrfs: move root tree prototypes to their own headerfs/ fs/ fs/ +9 more | +46 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] btrfs: move btrfs_fs_info and some prototypes
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
Signature · 1 line
2.26.3