Andreas Gruenbacher
a56965e24c
gfs2: do_xmote fixes
...
[ Upstream commit 9947a06d29c0a30da88cdc6376ca5fd87083e130 ]
Function do_xmote() is called with the glock spinlock held. Commit
86934198eefa added a 'goto skip_inval' statement at the beginning of the
function to further below where the glock spinlock is expected not to be
held anymore. Then it added code there that requires the glock spinlock
to be held. This doesn't make sense; fix this up by dropping and
retaking the spinlock where needed.
In addition, when ->lm_lock() returned an error, do_xmote() didn't fail
the locking operation, and simply left the glock hanging; fix that as
well. (This is a much older error.)
Fixes: 86934198eefa ("gfs2: Clear flags when withdraw prevents xmote")
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-30 09:49:14 +02:00
..
2024-05-17 12:14:49 +02:00
2023-12-29 11:58:33 -08:00
2024-02-25 02:10:31 -05:00
2024-03-26 18:17:27 -04:00
2024-01-11 20:11:35 -08:00
2024-04-10 16:38:08 +02:00
2023-12-21 12:51:02 -05:00
2024-01-11 20:23:50 -08:00
2024-05-30 09:48:52 +02:00
2024-02-20 09:46:07 +01:00
2024-04-17 11:23:24 +02:00
2024-01-11 20:11:35 -08:00
2023-10-30 09:47:13 -10:00
2023-12-26 22:55:42 -06:00
2024-04-03 15:32:17 +02:00
2023-12-28 04:57:57 -08:00
2024-05-30 09:49:08 +02:00
2024-05-30 09:48:57 +02:00
2024-02-25 09:43:39 +01:00
2023-11-07 12:11:26 -08:00
2024-05-25 16:28:38 +02:00
2024-05-17 12:14:35 +02:00
2023-10-28 16:16:19 +02:00
2024-03-26 18:17:03 -04:00
2024-04-13 13:10:05 +02:00
2024-04-03 15:32:22 +02:00
2024-04-03 15:32:06 +02:00
2023-12-20 15:02:58 -08:00
2024-04-27 17:13:02 +02:00
2024-05-30 09:49:14 +02:00
2023-12-29 11:58:34 -08:00
2024-03-26 18:16:27 -04:00
2023-12-21 12:51:00 -05:00
2024-02-07 21:20:36 -08:00
2024-03-26 18:16:26 -04:00
2024-04-13 13:10:04 +02:00
2024-01-04 23:42:21 -05:00
2024-05-30 09:48:58 +02:00
2024-03-26 18:17:03 -04:00
2024-04-17 11:23:40 +02:00
2024-01-10 17:44:36 -08:00
2024-01-11 19:54:18 -08:00
2024-05-02 16:35:23 +02:00
2024-05-17 12:14:24 +02:00
2024-05-17 12:14:25 +02:00
2024-05-30 09:48:57 +02:00
2024-01-11 20:11:35 -08:00
2024-01-10 17:44:36 -08:00
2024-05-30 09:48:44 +02:00
2024-03-26 18:17:03 -04:00
2024-05-30 09:48:56 +02:00
2024-04-13 13:10:05 +02:00
2024-03-26 18:17:28 -04:00
2024-05-17 12:15:09 +02:00
2024-04-13 13:10:00 +02:00
2023-12-13 11:19:18 -08:00
2024-03-26 18:17:03 -04:00
2024-01-08 15:27:15 -08:00
2024-03-26 18:17:03 -04:00
2023-10-30 09:47:13 -10:00
2024-05-30 09:48:44 +02:00
2024-04-27 17:13:04 +02:00
2024-04-27 17:13:01 +02:00
2024-04-13 13:10:04 +02:00
2024-05-17 12:15:10 +02:00
2024-04-03 15:32:07 +02:00
2024-01-11 20:23:50 -08:00
2024-01-09 11:18:47 -08:00
2024-05-17 12:14:41 +02:00
2024-01-11 10:07:29 -08:00
2024-02-27 09:53:30 +05:30
2024-02-16 10:20:35 +09:00
2024-04-10 16:38:19 +02:00
2023-11-14 08:31:31 -05:00
2023-12-21 13:17:54 +01:00
2023-12-23 16:35:09 +02:00
2023-10-30 19:28:19 -10:00
2023-10-30 19:28:19 -10:00
2024-01-09 11:18:47 -08:00
2023-11-02 20:53:31 -10:00
2024-03-06 10:52:12 +01:00
2023-11-18 15:00:01 +01:00
2024-02-09 23:31:16 -05:00
2023-11-18 15:00:01 +01:00
2023-12-12 14:24:55 +01:00
2024-05-30 09:48:56 +02:00
2024-04-03 15:32:39 +02:00
2024-03-26 18:16:26 -04:00
2024-03-26 18:16:25 -04:00
2024-01-11 20:11:35 -08:00
2023-12-12 14:24:14 +01:00
2023-12-24 15:08:49 +00:00
2024-01-11 20:00:22 -08:00
2024-01-11 20:11:35 -08:00
2023-12-24 15:48:03 -05:00
2024-01-19 09:10:23 -08:00
2024-05-30 09:49:00 +02:00
2023-12-28 04:57:57 -08:00
2024-01-19 09:10:23 -08:00
2023-11-28 14:08:47 +01:00
2023-11-18 14:56:16 +01:00
2023-12-29 11:58:35 -08:00
2024-02-25 02:10:31 -05:00
2024-02-07 21:16:29 +01:00
2023-11-25 02:49:43 -05:00
2024-01-08 11:11:51 -08:00
2024-01-10 17:44:36 -08:00
2023-11-18 14:56:16 +01:00
2023-12-21 13:17:54 +01:00
2023-11-18 14:56:16 +01:00
2023-12-12 16:20:02 +01:00
2023-12-12 16:20:02 +01:00
2024-02-06 17:07:21 +01:00
2024-03-26 18:16:27 -04:00
2023-12-12 16:20:02 +01:00
2024-01-08 10:57:34 -08:00
2024-02-25 02:10:31 -05:00
2023-12-28 04:57:57 -08:00
2024-05-17 12:15:08 +02:00