Filipe Manana
5630e2bcfe
btrfs: use a constant for the number of metadata units needed for an unlink
...
Instead of hard coding the number of metadata units for an unlink operation
in a couple places, define a macro and use it instead. This eliminates the
problem of one place getting out of sync with the other, such as recently
fixed by the previous patch in the series ("btrfs: fix calculation of the
global block reserve's size").
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-04-17 18:01:20 +02:00
..
2023-03-27 00:34:16 +00:00
2023-01-19 09:24:02 +01:00
2023-02-20 14:10:36 -08:00
2023-02-23 17:09:35 -08:00
2023-01-19 09:24:28 +01:00
2022-08-02 12:34:03 -04:00
2023-01-19 09:24:28 +01:00
2023-04-17 18:01:20 +02:00
2023-01-19 09:24:28 +01:00
2023-03-02 10:48:30 -08:00
2023-04-15 18:26:56 -05:00
2023-02-21 11:07:23 -08:00
2023-01-19 09:24:28 +01:00
2023-03-02 21:54:23 -08:00
2023-03-18 21:08:03 -07:00
2023-02-27 10:04:49 -08:00
2023-02-24 12:58:55 -08:00
2023-02-21 18:10:50 -08:00
2023-02-23 14:41:48 -08:00
2023-03-09 23:36:04 +08:00
2023-03-01 08:42:27 -08:00
2023-01-19 09:24:28 +01:00
2023-02-20 14:10:36 -08:00
2023-03-17 21:53:52 -04:00
2023-02-27 16:18:51 -08:00
2023-02-23 17:55:40 -08:00
2023-02-23 17:55:40 -08:00
2023-01-30 12:51:54 +00:00
2023-02-27 09:53:58 -08:00
2023-03-23 19:37:56 +01:00
2023-02-23 17:55:40 -08:00
2023-03-02 21:54:23 -08:00
2023-03-01 09:13:00 -08:00
2023-01-19 09:24:26 +01:00
2023-02-23 17:09:35 -08:00
2023-02-23 17:09:35 -08:00
2022-10-12 11:00:22 -07:00
2023-03-12 08:55:55 -07:00
2023-03-01 09:06:51 -08:00
2023-03-01 08:47:19 -08:00
2023-02-24 12:58:55 -08:00
2023-04-13 14:17:32 -05:00
2023-03-14 14:00:55 -04:00
2023-02-24 19:01:15 -08:00
2023-04-12 09:26:36 -07:00
2023-04-04 11:20:55 -07:00
2023-01-11 06:52:32 -05:00
2023-04-04 11:20:55 -07:00
2023-04-05 18:06:24 -07:00
2023-02-21 10:45:51 -08:00
2023-02-23 17:55:40 -08:00
2023-02-23 17:09:35 -08:00
2023-03-07 17:04:55 -08:00
2023-01-19 09:24:28 +01:00
2023-02-23 17:09:35 -08:00
2023-02-20 11:53:11 -08:00
2023-03-01 10:01:22 -08:00
2022-12-23 11:55:54 -08:00
2022-09-11 21:55:07 -07:00
2023-02-21 10:45:51 -08:00
2023-02-23 17:09:35 -08:00
2023-02-23 17:09:35 -08:00
2023-01-18 17:12:56 -08:00
2023-02-20 17:25:43 -06:00
2023-02-03 17:52:25 -08:00
2023-02-24 19:03:26 -08:00
2023-01-19 09:24:26 +01:00
2023-03-01 09:06:51 -08:00
2023-03-06 16:38:25 +01:00
2023-01-19 09:24:28 +01:00
2023-01-19 09:24:26 +01:00
2023-03-15 22:50:41 -07:00
2023-03-24 13:16:01 -07:00
2023-03-30 20:56:02 +09:00
2023-02-10 15:34:48 -08:00
2022-08-20 11:34:04 -04:00
2023-02-20 11:53:11 -08:00
2023-01-19 09:24:28 +01:00
2023-01-05 15:12:12 +00:00
2023-01-31 15:01:20 +01:00
2022-12-02 13:57:04 -08:00
2023-02-23 17:09:35 -08:00
2022-12-02 17:48:59 +01:00
2023-02-23 17:09:35 -08:00
2022-08-20 11:34:33 -04:00
2023-04-05 18:06:23 -07:00
2022-10-10 19:45:17 -07:00
2023-01-26 10:30:56 -07:00
2022-11-22 06:07:55 -07:00
2022-11-21 07:45:29 -07:00
2023-02-23 17:09:35 -08:00
2023-02-20 11:53:11 -08:00
2022-09-01 17:36:39 -04:00
2023-01-11 06:52:32 -05:00
2023-03-09 22:46:21 -05:00
2022-12-01 10:46:54 -05:00
2023-02-02 22:33:19 -08:00
2023-01-19 09:24:28 +01:00
2023-02-20 11:53:11 -08:00
2023-02-20 14:10:36 -08:00
2023-01-19 09:24:29 +01:00
2023-01-26 10:30:56 -07:00
2022-10-10 14:21:11 -07:00
2023-02-20 11:53:11 -08:00
2023-03-09 22:36:12 +01:00
2023-02-20 14:10:36 -08:00
2022-12-08 21:49:25 -05:00
2023-01-19 09:24:30 +01:00
2023-02-23 17:09:35 -08:00
2023-02-22 14:21:40 -08:00
2023-03-31 12:13:37 +02:00
2023-01-11 15:47:40 -05:00
2023-02-27 16:39:19 -08:00
2022-08-20 11:34:04 -04:00
2022-12-21 14:45:25 +01:00
2023-02-20 12:14:33 -08:00
2022-12-12 18:29:54 -08:00
2022-08-17 17:25:04 -04:00
2023-01-19 09:24:29 +01:00
2022-11-25 13:01:55 -05:00
2023-03-09 10:10:31 +01:00
2023-02-20 11:53:11 -08:00
2023-03-14 10:30:30 -07:00
2023-02-09 16:51:39 -08:00
2023-02-20 11:53:11 -08:00
2023-02-20 11:53:11 -08:00