aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorStephen Brennan <[email protected]>2021-06-23 16:21:14 -0700
committerTheodore Ts'o <[email protected]>2021-07-01 17:14:07 -0400
commitcd84bbbac12a173a381a64c6ec8b76a5277b87b5 (patch)
tree185caf1ac954570d0137e7679dc0152d19a75682 /scripts/gdb/linux/tasks.py
parent558d6450c7755aa005d89021204b6cdcae5e848f (diff)
ext4: use ext4_grp_locked_error in mb_find_extent
Commit 5d1b1b3f492f ("ext4: fix BUG when calling ext4_error with locked block group") introduces ext4_grp_locked_error to handle unlocking a group in error cases. Otherwise, there is a possibility of a sleep while atomic. However, since 43c73221b3b1 ("ext4: replace BUG_ON with WARN_ON in mb_find_extent()"), mb_find_extent() has contained a ext4_error() call while a group spinlock is held. Replace this with ext4_grp_locked_error. Fixes: 43c73221b3b1 ("ext4: replace BUG_ON with WARN_ON in mb_find_extent()") Cc: <[email protected]> # 4.14+ Signed-off-by: Stephen Brennan <[email protected]> Reviewed-by: Lukas Czerner <[email protected]> Reviewed-by: Junxiao Bi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions