diff options
Diffstat (limited to 'fs/btrfs/relocation.c')
| -rw-r--r-- | fs/btrfs/relocation.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index b041b945a7ae..879b76fa881a 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -4299,7 +4299,7 @@ out:  	return inode;  } -static struct reloc_control *alloc_reloc_control(struct btrfs_fs_info *fs_info) +static struct reloc_control *alloc_reloc_control(void)  {  	struct reloc_control *rc; @@ -4344,7 +4344,7 @@ static void describe_relocation(struct btrfs_fs_info *fs_info,  		DESCRIBE_FLAG(RAID5,    "raid5");  		DESCRIBE_FLAG(RAID6,    "raid6");  		if (flags) -			snprintf(buf, buf - bp + sizeof(buf), "|0x%llx", flags); +			snprintf(bp, buf - bp + sizeof(buf), "|0x%llx", flags);  #undef DESCRIBE_FLAG  	} @@ -4366,7 +4366,7 @@ int btrfs_relocate_block_group(struct btrfs_fs_info *fs_info, u64 group_start)  	int rw = 0;  	int err = 0; -	rc = alloc_reloc_control(fs_info); +	rc = alloc_reloc_control();  	if (!rc)  		return -ENOMEM; @@ -4562,7 +4562,7 @@ int btrfs_recover_relocation(struct btrfs_root *root)  	if (list_empty(&reloc_roots))  		goto out; -	rc = alloc_reloc_control(fs_info); +	rc = alloc_reloc_control();  	if (!rc) {  		err = -ENOMEM;  		goto out;  |