diff options
author | 2024-06-07 02:23:54 +0200 | |
---|---|---|
committer | 2024-06-08 02:34:56 +0200 | |
commit | 59ebc33201237bf38e5adca3794716100660c5b4 (patch) | |
tree | 45f28de868c5f5beba38bd49dc66b95328cfae1b /scripts/lib/kdoc/kdoc_parser.py | |
parent | gfs2: Revert "introduce qd_bh_get_or_undo" (diff) | |
download | wireguard-linux-59ebc33201237bf38e5adca3794716100660c5b4.tar.xz wireguard-linux-59ebc33201237bf38e5adca3794716100660c5b4.zip |
gfs2: qd_check_sync cleanups
Rename qd_check_sync() to qd_grab_sync() and make it return a bool.
Turn the sync_gen pointer into a regular u64 and pass in U64_MAX instead
of a NULL pointer when sync generation checking isn't needed.
Introduce a new qd_ungrab_sync() helper for undoing the effects of
qd_grab_sync() if the subsequent bh_get() on the qd object fails.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions