btrfs: delayed-inode: Remove wrong qgroup meta reservation calls
authorQu Wenruo <wqu@suse.com>
Tue, 17 Apr 2018 08:52:45 +0000 (16:52 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 18 Apr 2018 14:46:55 +0000 (16:46 +0200)
commitf218ea6c4792e0fabba0195f2f866d0a3b58431e
tree599a4e1abb146b86f3cf744dc3d36e7f5fdcc5a4
parentff6bc37eb7f6e7b052e50c13a480e1080b3ec07a
btrfs: delayed-inode: Remove wrong qgroup meta reservation calls

Commit 4f5427ccce5d ("btrfs: delayed-inode: Use new qgroup meta rsv for
delayed inode and item") merged into mainline was not latest version
submitted to the mail list in Dec 2017.

Which lacks the following fixes:

1) Remove btrfs_qgroup_convert_reserved_meta() call in
   btrfs_delayed_item_release_metadata()
2) Remove btrfs_qgroup_reserve_meta_prealloc() call in
   btrfs_delayed_inode_reserve_metadata()

Those fixes will resolve unexpected EDQUOT problems.

Fixes: 4f5427ccce5d ("btrfs: delayed-inode: Use new qgroup meta rsv for delayed inode and item")
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-inode.c