diff options
author | Bob Peterson | 2020-12-22 14:43:27 -0600 |
---|---|---|
committer | Andreas Gruenbacher | 2020-12-23 00:54:13 +0100 |
commit | c77b52c0a137994ad796f44544c802b0b766e496 (patch) | |
tree | 6d2f1b674d4bbfd0cad49d0c68d4d5e8b6a36465 /crypto/asymmetric_keys | |
parent | 7703f46f2cafa57b9e5e8f4d6ff3dd8dcf0c1656 (diff) |
gfs2: Add common helper for holding and releasing the freeze glock
Many places in the gfs2 code queued and dequeued the freeze glock.
Almost all of them acquire it in SHARED mode, and need to specify the
same LM_FLAG_NOEXP and GL_EXACT flags.
This patch adds common helper functions gfs2_freeze_lock and gfs2_freeze_unlock
to make the code more readable, and to prepare for the next patch.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'crypto/asymmetric_keys')
0 files changed, 0 insertions, 0 deletions