diff options
| author | Alexey Velichayshiy <a.velichayshiy@ispras.ru> | 2025-11-17 12:05:18 +0300 |
|---|---|---|
| committer | Andreas Gruenbacher <agruenba@redhat.com> | 2025-11-26 13:01:07 +0000 |
| commit | 4cfc7d5a4a01d2133b278cdbb1371fba1b419174 (patch) | |
| tree | 69ea9968ded6fe4979d28f0a9d70a95682fd7108 /rust/kernel/alloc/kvec/errors.rs | |
| parent | 2c5f4a53476e3cab70adc77b38942c066bd2c17c (diff) | |
gfs2: fix freeze error handling
After commit b77b4a4815a9 ("gfs2: Rework freeze / thaw logic"),
the freeze error handling is broken because gfs2_do_thaw()
overwrites the 'error' variable, causing incorrect processing
of the original freeze error.
Fix this by calling gfs2_do_thaw() when gfs2_lock_fs_check_clean()
fails but ignoring its return value to preserve the original
freeze error for proper reporting.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: b77b4a4815a9 ("gfs2: Rework freeze / thaw logic")
Cc: stable@vger.kernel.org # v6.5+
Signed-off-by: Alexey Velichayshiy <a.velichayshiy@ispras.ru>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions
