diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2023-08-08 20:27:46 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-09-05 15:58:16 +0200 |
commit | 0b93bac2271e11beb980fca037a34a9819c7dc37 (patch) | |
tree | 05f7b02d0df9952445289103f02d91a11167f568 /fs/gfs2/lock_dlm.c | |
parent | de3e7f97aebb7304856c46daf358ef14f0204219 (diff) | |
download | lwn-0b93bac2271e11beb980fca037a34a9819c7dc37.tar.gz lwn-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.c | 5 |
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; |