aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/lock_dlm.c
diff options
context:
space:
mode:
authorGravatar Andreas Gruenbacher <agruenba@redhat.com> 2023-08-08 20:27:46 +0200
committerGravatar Andreas Gruenbacher <agruenba@redhat.com> 2023-09-05 15:58:16 +0200
commit0b93bac2271e11beb980fca037a34a9819c7dc37 (patch)
tree05f7b02d0df9952445289103f02d91a11167f568 /fs/gfs2/lock_dlm.c
parentgfs2: do_promote cleanup (diff)
downloadlinux-0b93bac2271e11beb980fca037a34a9819c7dc37.tar.gz
linux-0b93bac2271e11beb980fca037a34a9819c7dc37.tar.bz2
linux-0b93bac2271e11beb980fca037a34a9819c7dc37.zip
gfs2: Remove LM_FLAG_PRIORITY flag
The last user of this flag was removed in commit b77b4a4815a9 ("gfs2: Rework freeze / thaw logic"). Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/lock_dlm.c')
-rw-r--r--fs/gfs2/lock_dlm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/gfs2/lock_dlm.c b/fs/gfs2/lock_dlm.c
index 54911294687c..59ab18c79889 100644
--- a/fs/gfs2/lock_dlm.c
+++ b/fs/gfs2/lock_dlm.c
@@ -222,11 +222,6 @@ static u32 make_flags(struct gfs2_glock *gl, const unsigned int gfs_flags,
lkf |= DLM_LKF_NOQUEUEBAST;
}
- if (gfs_flags & LM_FLAG_PRIORITY) {
- lkf |= DLM_LKF_NOORDER;
- lkf |= DLM_LKF_HEADQUE;
- }
-
if (gfs_flags & LM_FLAG_ANY) {
if (req == DLM_LOCK_PR)
lkf |= DLM_LKF_ALTCW;