btrfs: delayed-inode: Use new qgroup meta rsv for delayed inode and item
authorQu Wenruo <wqu@suse.com>
Tue, 12 Dec 2017 07:34:33 +0000 (15:34 +0800)
committerDavid Sterba <dsterba@suse.com>
Sat, 31 Mar 2018 00:01:03 +0000 (02:01 +0200)
commit4f5427ccce5d9cb8e2c8f98b49e744e523d246ec
tree98d28c2c53aeae20f6e6a90ad56d638c43f0e5f1
parent43b18595d6603cb4197fb9b063915cd7802141a6
btrfs: delayed-inode: Use new qgroup meta rsv for delayed inode and item

Quite similar for delalloc, some modification to delayed-inode and
delayed-item reservation.  Also needs extra parameter for release case
to distinguish normal release and error release.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-inode.c