[Feature][ZXW-130]merge P50U02 version
Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: I4f29ec5bb7c59385f23738d2b7ca84e67c100f69
diff --git a/ap/os/linux/linux-3.4.x/fs/jffs2/background.c b/ap/os/linux/linux-3.4.x/fs/jffs2/background.c
old mode 100644
new mode 100755
index 2e546e1..3de5525
--- a/ap/os/linux/linux-3.4.x/fs/jffs2/background.c
+++ b/ap/os/linux/linux-3.4.x/fs/jffs2/background.c
@@ -105,8 +105,11 @@
BUG_ON(partition_no >= sizeof(jffs2_quick_gc_mtd)/sizeof(jffs2_quick_gc_mtd[0]));
//printk(KERN_ALERT "[zgp]syscall %s wait done GC\n ", jffs2_quick_gc_mtd[partition_no].name);
-
+#ifdef _USE_VEHICLE_DC
+ return 1;
+#else
return quick_gc_wait_done(jffs2_quick_gc_mtd[partition_no].name);
+#endif
}
void jffs2_quick_gc_done(struct jffs2_sb_info *c)