Commit af4dec2
gfs2: Revert "Add quota_change type"
[ Upstream commit ec4b520 ]
Commit 432928c ("gfs2: Add quota_change type") makes the incorrect
assertion that function do_qc() should behave differently in the two
contexts it is used in, but that isn't actually true. In all cases,
do_qc() grabs a "reference" when it starts using a slot in the per-node
quota changes file, and it releases that "reference" when no more
residual changes remain. Revert that broken commit.
There are some remaining issues with function do_qc() which are
addressed in the next commit.
This reverts commit 432928c.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 5d73466 commit af4dec2
2 files changed
Lines changed: 10 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 78 | | |
82 | 79 | | |
83 | 80 | | |
| |||
710 | 707 | | |
711 | 708 | | |
712 | 709 | | |
713 | | - | |
| 710 | + | |
714 | 711 | | |
715 | 712 | | |
716 | 713 | | |
| |||
735 | 732 | | |
736 | 733 | | |
737 | 734 | | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
| 735 | + | |
744 | 736 | | |
745 | 737 | | |
746 | 738 | | |
747 | 739 | | |
748 | 740 | | |
749 | 741 | | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
750 | 745 | | |
751 | 746 | | |
752 | 747 | | |
| |||
992 | 987 | | |
993 | 988 | | |
994 | 989 | | |
995 | | - | |
| 990 | + | |
996 | 991 | | |
997 | 992 | | |
998 | 993 | | |
| |||
1312 | 1307 | | |
1313 | 1308 | | |
1314 | 1309 | | |
1315 | | - | |
| 1310 | + | |
1316 | 1311 | | |
1317 | 1312 | | |
1318 | 1313 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | | - | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments