• Qu Wenruo's avatar
    btrfs: Fix wrong btrfs_delalloc_release_extents parameter · 336a8bb8
    Qu Wenruo authored
    Commit 43b18595 ("btrfs: qgroup: Use separate meta reservation type
    for delalloc") merged into mainline is not the latest version submitted
    to mail list in Dec 2017.
    
    It has a fatal wrong @qgroup_free parameter, which results increasing
    qgroup metadata pertrans reserved space, and causing a lot of early EDQUOT.
    
    Fix it by applying the correct diff on top of current branch.
    
    Fixes: 43b18595 ("btrfs: qgroup: Use separate meta reservation type for delalloc")
    Signed-off-by: default avatarQu Wenruo <wqu@suse.com>
    Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
    336a8bb8
file.c 90.3 KB