Peeters Simon
2012-Jan-10 13:05 UTC
[PATCH V2] Btrfs: cleanup: move node-,leaf-,sectorsize to fs_info
moved the node-,leaf-,sectorsize from btrfs_root to btrfs_fs_info since we don''t intend to allow different sizes between trees also removed sectorsize from btrfs_block_group_cache because it now can use the one in fs_info updated all uses accordingly please note in disk-io.c: -static int __setup_root(nodesize, leafsize, sectorsize, stripesize, - *root, *fs_info, objectid) +static int __setup_root(stripesize, *root, *fs_info, objectid) Signed-off-by: Simon Peeters <peeters.simon@gmail.com> --- fs/btrfs/backref.c | 2 +- fs/btrfs/compression.c | 8 +++--- fs/btrfs/ctree.c | 12 +++++----- fs/btrfs/ctree.h | 31 +++++++++++++------------- fs/btrfs/disk-io.c | 50 ++++++++++++++---------------------------- fs/btrfs/extent-tree.c | 22 ++++++++---------- fs/btrfs/extent_io.c | 6 ++-- fs/btrfs/file-item.c | 20 ++++++++-------- fs/btrfs/file.c | 28 ++++++++++++------------ fs/btrfs/free-space-cache.c | 22 +++++++++--------- fs/btrfs/inode.c | 42 ++++++++++++++++++------------------ fs/btrfs/ioctl.c | 8 +++--- fs/btrfs/ordered-data.c | 4 +- fs/btrfs/ordered-data.h | 4 +- fs/btrfs/relocation.c | 16 +++++++------- fs/btrfs/scrub.c | 8 +++--- fs/btrfs/super.c | 2 +- fs/btrfs/tree-log.c | 2 +- fs/btrfs/volumes.c | 10 ++++---- 19 files changed, 139 insertions(+), 158 deletions(-) --- Simon Peeters
Reasonably Related Threads
- [PATCH 05/12] Btrfs: Avoid orphan inodes cleanup during replaying log
- [PATCH] Btrfs: make some functions return void
- [PATCH] Btrfs-progs: add a free space cache checker to fsck
- [PATCH]Add rollback support for the converter
- [PATCH] fix enospc when there is plenty of space