Commit 86124e6
Andreas Gruenbacher
gfs2: Simplify do_promote
JIRA: https://issues.redhat.com/browse/RHEL-116886
Upstream Status: git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git
While not immediately obvious, do_promote() returns whether or not there
are any active holders in the queue. But the function description is
confusing, and this information is easy to come by for callers anyway,
so turn do_promote() into a void function.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
(cherry picked from commit 2045364)1 parent 62abf26 commit 86124e6
1 file changed
+6
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | | - | |
486 | | - | |
487 | 485 | | |
488 | 486 | | |
489 | | - | |
| 487 | + | |
490 | 488 | | |
491 | 489 | | |
492 | 490 | | |
| |||
497 | 495 | | |
498 | 496 | | |
499 | 497 | | |
500 | | - | |
501 | | - | |
502 | | - | |
| 498 | + | |
503 | 499 | | |
504 | | - | |
505 | | - | |
506 | | - | |
| 500 | + | |
| 501 | + | |
507 | 502 | | |
508 | 503 | | |
509 | 504 | | |
| |||
512 | 507 | | |
513 | 508 | | |
514 | 509 | | |
515 | | - | |
516 | 510 | | |
517 | 511 | | |
518 | 512 | | |
| |||
855 | 849 | | |
856 | 850 | | |
857 | 851 | | |
858 | | - | |
| 852 | + | |
| 853 | + | |
859 | 854 | | |
860 | 855 | | |
861 | 856 | | |
| |||
0 commit comments