Commit 2b813a7
Andreas Gruenbacher
gfs2: Remove DLM_LKF_ALTCW / DLM_LKF_ALTPR code
Commit 6802e34 ("[GFS2] Clean up the glock core") stopped passing
the LM_FLAG_ANY flag down to gdlm_lock() (then gfs2_lm_lock()). Since
then, gfs2 effectively hasn't been using dlm's DLM_LKF_ALTCW /
DLM_LKF_ALTPR flags, but the code still suggests that it does. Recent
testing shows that those flags don't even work reliably anymore, so
instead of fixing code that hasn't been used since 2008, remove it.
In addition, clean up how the flags are passed to [gd]lm_lock().
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Andrew Price <anprice@redhat.com>1 parent fd70ab7 commit 2b813a7
2 files changed
Lines changed: 1 addition & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
698 | | - | |
699 | 698 | | |
700 | 699 | | |
701 | 700 | | |
702 | 701 | | |
703 | 702 | | |
704 | 703 | | |
705 | | - | |
706 | 704 | | |
707 | 705 | | |
708 | 706 | | |
| |||
809 | 807 | | |
810 | 808 | | |
811 | 809 | | |
812 | | - | |
| 810 | + | |
813 | 811 | | |
814 | 812 | | |
815 | 813 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | 165 | | |
174 | 166 | | |
175 | 167 | | |
| |||
261 | 253 | | |
262 | 254 | | |
263 | 255 | | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | 256 | | |
274 | 257 | | |
275 | 258 | | |
| |||
0 commit comments