File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -127,12 +127,6 @@ int erofs_workgroup_put(struct erofs_workgroup *grp)
127
127
return count ;
128
128
}
129
129
130
- static void erofs_workgroup_unfreeze_final (struct erofs_workgroup * grp )
131
- {
132
- erofs_workgroup_unfreeze (grp , 0 );
133
- __erofs_workgroup_free (grp );
134
- }
135
-
136
130
static bool erofs_try_to_release_workgroup (struct erofs_sb_info * sbi ,
137
131
struct erofs_workgroup * grp )
138
132
{
@@ -162,11 +156,9 @@ static bool erofs_try_to_release_workgroup(struct erofs_sb_info *sbi,
162
156
*/
163
157
DBG_BUGON (xa_erase (& sbi -> managed_pslots , grp -> index ) != grp );
164
158
165
- /*
166
- * If managed cache is on, last refcount should indicate
167
- * the related workstation.
168
- */
169
- erofs_workgroup_unfreeze_final (grp );
159
+ /* last refcount should be connected with its managed pslot. */
160
+ erofs_workgroup_unfreeze (grp , 0 );
161
+ __erofs_workgroup_free (grp );
170
162
return true;
171
163
}
172
164
You can’t perform that action at this time.
0 commit comments