You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
jffs2: Use jffs2_garbage_collect_trigger() to trigger pending erases
This is now done in a GC pass; we don't need to trigger kupdated to do it. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
+3
-1
@@ -260,7 +260,9 @@ int jffs2_scan_medium(struct jffs2_sb_info *c)
|
||||
ret = -EIO;
|
||||
goto out;
|
||||
}
|
||||
jffs2_erase_pending_trigger(c);
|
||||
spin_lock(&c->erase_completion_lock);
|
||||
jffs2_garbage_collect_trigger(c);
|
||||
spin_unlock(&c->erase_completion_lock);
|
||||
}
|
||||
ret = 0;
|
||||
out:
|
||||
|
||||
Reference in New Issue
Block a user