Darrick J. Wong
97835e6866
xfs: fix xfs_init_attr_trans not handling explicit operation codes
...
When we were converting the attr code to use an explicit operation code
instead of keying off of attr->value being null, we forgot to change the
code that initializes the transaction reservation. Split the function
into two helpers that handle the !remove and remove cases, then fix both
callsites to handle this correctly.
Fixes: c27411d4c640 ("xfs: make attr removal an explicit operation")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
2024-05-27 15:55:52 +05:30
..
2024-05-01 18:07:38 +01:00
2024-03-12 20:32:19 -07:00
2024-02-26 11:36:28 +01:00
2024-05-13 12:14:03 -07:00
2024-01-11 20:11:35 -08:00
2024-05-24 09:07:22 -07:00
2024-03-12 20:32:19 -07:00
2024-03-12 20:32:19 -07:00
2024-05-24 09:40:31 -07:00
2024-05-21 13:11:44 -07:00
2024-05-25 14:23:58 -07:00
2024-03-12 20:32:19 -07:00
2024-05-03 02:36:51 -04:00
2024-05-19 09:21:03 -07:00
2024-03-26 09:04:54 +01:00
2023-12-28 04:57:57 -08:00
2024-04-23 16:08:55 -05:00
2024-05-13 14:14:05 -07:00
2024-04-13 10:33:02 +02:00
2024-02-27 11:21:33 +01:00
2024-05-24 09:31:50 -07:00
2024-04-25 21:59:59 +09:00
2024-01-23 10:58:56 -05:00
2024-05-03 11:50:28 +02:00
2024-05-21 09:51:42 -07:00
2024-05-20 13:23:43 -07:00
2024-04-25 21:07:02 -07:00
2024-03-26 09:04:53 +01:00
2024-05-23 12:04:36 -07:00
2024-05-21 09:51:42 -07:00
2023-12-29 11:58:34 -08:00
2024-04-24 16:55:28 -07:00
2023-12-21 12:51:00 -05:00
2024-03-12 20:32:19 -07:00
2024-05-19 09:21:03 -07:00
2024-05-18 12:39:20 -07:00
2024-05-09 18:09:57 +02:00
2024-05-21 09:51:42 -07:00
2024-05-25 13:23:42 -07:00
2024-03-27 13:17:15 +01:00
2024-05-04 19:02:39 +02:00
2024-05-06 09:07:20 -04:00
2024-03-26 09:04:55 +01:00
2024-05-21 11:14:55 -05:00
2024-05-23 13:51:09 -07:00
2024-05-22 20:14:47 -04:00
2024-05-24 11:55:07 -07:00
2024-05-20 12:43:58 -07:00
2024-05-25 14:19:01 -07:00
2024-05-22 20:14:47 -04:00
2024-03-26 09:04:54 +01:00
2024-05-14 17:44:14 -07:00
2024-05-22 09:23:18 -07:00
2024-05-24 11:55:07 -07:00
2024-03-09 12:33:22 -08:00
2024-03-12 20:32:19 -07:00
2024-03-26 09:04:53 +01:00
2024-04-12 14:52:29 +02:00
2024-04-25 20:56:25 -07:00
2024-05-21 08:34:51 -07:00
2024-03-27 13:17:15 +01:00
2024-05-25 22:33:10 -07:00
2024-05-19 14:02:03 -07:00
2024-04-23 13:27:43 +02:00
2024-02-27 11:21:31 +01:00
2024-05-23 09:31:50 -04:00
2024-03-21 15:09:29 -07:00
2024-04-23 15:37:02 +02:00
2024-03-12 20:32:19 -07:00
2024-05-10 04:34:52 +09:00
2024-04-03 16:06:39 +02:00
2024-05-03 08:30:58 -07:00
2024-05-27 15:55:52 +05:30
2024-04-10 07:23:47 +09:00
2024-05-21 13:11:44 -07:00
2024-04-26 10:33:05 +02:00
2024-03-12 20:03:34 -07:00
2024-05-02 20:35:57 +02:00
2024-04-24 15:55:28 -07:00
2024-05-19 14:02:03 -07:00
2023-10-30 19:28:19 -10:00
2024-05-21 09:51:42 -07:00
2023-11-02 20:53:31 -10:00
2024-05-23 12:04:36 -07:00
2024-04-25 20:56:20 -07:00
2024-05-22 08:49:13 -07:00
2024-04-11 10:21:24 +02:00
2024-02-08 10:12:26 +01:00
2024-05-05 14:00:48 -07:00
2024-05-19 09:21:03 -07:00
2024-05-10 08:26:31 +02:00
2024-04-05 15:53:47 +02:00
2024-03-12 20:03:34 -07:00
2024-04-15 16:03:24 -04:00
2024-02-02 13:11:50 +01:00
2024-04-05 15:53:45 +02:00
2024-03-15 09:00:09 -07:00
2024-05-02 20:35:57 +02:00
2024-05-13 06:58:35 +02:00
2024-03-14 17:43:30 -07:00
2024-04-17 13:49:44 +02:00
2024-02-20 09:53:33 +01:00
2024-03-11 10:21:06 -07:00
2024-02-27 11:21:31 +01:00
2024-02-08 10:12:37 +01:00
2023-11-18 14:56:16 +01:00
2024-02-06 14:31:05 +01:00
2024-05-22 09:23:18 -07:00
2024-02-07 21:16:29 +01:00
2024-03-13 12:53:53 -07:00
2024-04-15 16:03:25 -04:00
2024-05-21 08:08:00 -07:00
2024-02-02 13:11:49 +01:00
2023-11-18 14:56:16 +01:00
2024-03-12 20:03:34 -07:00
2023-11-18 14:56:16 +01:00
2024-05-21 13:11:44 -07:00
2023-12-12 16:20:02 +01:00
2024-04-15 14:54:13 -07:00
2024-02-20 09:23:52 +01:00
2024-05-02 16:28:20 +02:00
2024-04-10 16:23:04 -06:00
2024-04-15 16:03:25 -04:00
2024-03-26 09:01:18 +01:00
2024-05-20 12:31:43 -07:00
2023-12-28 04:57:57 -08:00
2024-04-10 16:23:02 -06:00
2024-05-19 09:21:03 -07:00
2024-02-15 23:43:47 -05:00