]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Fix wrong btrfs_delalloc_release_extents parameter
authorQu Wenruo <wqu@suse.com>
Tue, 17 Apr 2018 10:43:58 +0000 (18:43 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 18 Apr 2018 14:46:57 +0000 (16:46 +0200)
commit2a60c2db2ce37a2298d0259eacc9b70ba0307417
treec041c9f7aedaaf64c674c114801c278b587bd265
parent2c2fb93e34d1bdb86fb3adb4b6d640e9b0543dd4
btrfs: Fix wrong btrfs_delalloc_release_extents parameter

Commit 866e2a964f63 ("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: 866e2a964f63 ("btrfs: qgroup: Use separate meta reservation type for delalloc")
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/file.c