Nikolay Borisov 98686ffc71 btrfs: simplify code flow in btrfs_delayed_inode_reserve_metadata
btrfs_block_rsv_add can return only ENOSPC since it's called with
NO_FLUSH modifier. This so simplify the logic in
btrfs_delayed_inode_reserve_metadata to exploit this invariant.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ add assert and comment ]
Signed-off-by: David Sterba <dsterba@suse.com>
2021-04-19 17:25:15 +02:00
..
2021-02-23 13:39:45 -08:00
2021-01-24 14:27:20 +01:00
2021-03-25 15:38:22 -07:00
2021-02-09 02:46:07 +01:00
2021-03-18 13:38:42 -07:00
2019-11-18 23:43:44 +01:00
2021-03-05 12:21:14 -08:00
2020-10-07 12:06:57 +02:00
2020-05-25 11:25:37 +02:00
2020-10-07 12:13:17 +02:00
2021-03-25 15:38:22 -07:00
2021-03-05 12:21:14 -08:00
2021-04-11 11:53:36 -07:00