diff options
| author | zhangyi (F) <yi.zhang@huawei.com> | 2020-06-20 09:19:48 +0300 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2020-08-06 07:15:58 +0300 |
| commit | ef3f5830b859604eda8723c26d90ab23edc027a4 (patch) | |
| tree | ac33d8df2c61789f71d0ca1616002eb9e29d8da1 /scripts/gdb/linux/proc.py | |
| parent | 5872331b3d91820e14716632ebb56b1399b34fe1 (diff) | |
| download | linux-ef3f5830b859604eda8723c26d90ab23edc027a4.tar.xz | |
jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superblock()
jbd2_write_superblock() is under the buffer lock of journal superblock
before ending that superblock write, so add a missing unlock_buffer() in
in the error path before submitting buffer.
Fixes: 742b06b5628f ("jbd2: check superblock mapped prior to committing")
Signed-off-by: zhangyi (F) <yi.zhang@huawei.com>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Cc: stable@kernel.org
Link: https://lore.kernel.org/r/20200620061948.2049579-1-yi.zhang@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
