Skip to content
Commit 7ee1ec4c authored by Li Zefan's avatar Li Zefan Committed by Theodore Ts'o
Browse files

ext4: add missing unlock in ext4_check_descriptors() on error path



If there group descriptors are corrupted we need unlock the block
group lock before returning from the function; else we will oops when
freeing a spinlock which is still being held.

Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 05496769
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment