mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-07 09:41:29 +00:00
btrfs-progs: Remove block size members in btrfs_root
Finally, we can get rid of per tree block size members now. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
This commit is contained in:
parent
7a30f5a01c
commit
fa5fd68021
9
ctree.h
9
ctree.h
@ -1166,15 +1166,6 @@ struct btrfs_root {
|
||||
u64 objectid;
|
||||
u64 last_trans;
|
||||
|
||||
/* data allocations are done in sectorsize units */
|
||||
u32 sectorsize;
|
||||
|
||||
/* node allocations are done in nodesize units */
|
||||
u32 nodesize;
|
||||
|
||||
/* leaf allocations are done in nodesize units */
|
||||
u32 stripesize;
|
||||
|
||||
int ref_cows;
|
||||
int track_dirty;
|
||||
|
||||
|
@ -481,9 +481,6 @@ void btrfs_setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info,
|
||||
{
|
||||
root->node = NULL;
|
||||
root->commit_root = NULL;
|
||||
root->sectorsize = fs_info->sectorsize;
|
||||
root->nodesize = fs_info->nodesize;
|
||||
root->stripesize = fs_info->stripesize;
|
||||
root->ref_cows = 0;
|
||||
root->track_dirty = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user