From 177f32283f81808ea13e5af191b5a43843d95e80 Mon Sep 17 00:00:00 2001 From: gaochao Date: Thu, 10 Nov 2022 16:32:48 +0800 Subject: [PATCH] =?UTF-8?q?LTS=20=E8=A1=A5=E4=B8=81=E5=8D=87=E7=BA=A7?= =?UTF-8?q?=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gaochao --- fs/jffs2/jffs2.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/jffs2/jffs2.patch b/fs/jffs2/jffs2.patch index efd81d73..073aa696 100644 --- a/fs/jffs2/jffs2.patch +++ b/fs/jffs2/jffs2.patch @@ -3348,7 +3348,7 @@ diff -Nupr old/fs/jffs2/fs.c new/fs/jffs2/fs.c { /* * Pick a inocache hash size based on the size of the medium. -@@ -510,117 +386,17 @@ static int calculate_inocache_hashsize(uint32_t flash_size) +@@ -510,118 +386,17 @@ static int calculate_inocache_hashsize(uint32_t flash_size) return hashsize; } @@ -3445,6 +3445,7 @@ diff -Nupr old/fs/jffs2/fs.c new/fs/jffs2/fs.c - jffs2_free_raw_node_refs(c); - kvfree(c->blocks); - jffs2_clear_xattr_subsystem(c); +- jffs2_sum_exit(c); - out_inohash: - kfree(c->inocache_list); - out_wbuf: @@ -3469,7 +3470,7 @@ diff -Nupr old/fs/jffs2/fs.c new/fs/jffs2/fs.c struct jffs2_inode_cache *ic; if (unlinked) { -@@ -668,72 +444,9 @@ struct jffs2_inode_info *jffs2_gc_fetch_inode(struct jffs2_sb_info *c, +@@ -669,72 +444,9 @@ struct jffs2_inode_info *jffs2_gc_fetch_inode(struct jffs2_sb_info *c, Just iget() it, and if read_inode() is necessary that's OK. */ inode = jffs2_iget(OFNI_BS_2SFFJ(c), inum); -- GitLab