diff options
Diffstat (limited to 'fs/btrfs/relocation.c')
-rw-r--r-- | fs/btrfs/relocation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index 73300c7e3c52..4a2959ebece4 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -2613,7 +2613,7 @@ int prealloc_file_extent_cluster(struct inode *inode, inode_unlock(inode); if (cur_offset < prealloc_end) - btrfs_free_reserved_data_space_noquota(inode, + btrfs_free_reserved_data_space_noquota(btrfs_sb(inode->i_sb), prealloc_end + 1 - cur_offset); return ret; } |