summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2023-06-23 16:07:55 +0300
committerAndreas Gruenbacher <agruenba@redhat.com>2023-09-05 16:58:18 +0300
commit7dbc6ae60dd7089d8ed42892b6a66c138f0aa7a0 (patch)
tree2e3f2fc69128b5e94541ed804366c947f9b2d016 /scripts/gdb/linux/interrupts.py
parent3932e5073011567d24ce66cf66575d4d81ea8c94 (diff)
downloadlinux-7dbc6ae60dd7089d8ed42892b6a66c138f0aa7a0.tar.xz
gfs2: introduce qd_bh_get_or_undo
This patch is an attempt to force some consistency in quota sync processing. Two functions (qd_fish and gfs2_quota_unlock) called qd_check_sync, after which they both called bh_get, and if that failed, they took the same steps to undo the actions of qd_check_sync. This patch introduces a new function, qd_bh_get_or_undo, which performs the same steps, reducing code redundancy. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions