firmware/br-ext-chip-goke/board/gk7205v200/kernel/patches/00_fs-fat-fatent.c.patch

13 lines
330 B
Diff

--- linux-4.9.37/fs/fat/fatent.c 2017-07-12 16:42:41.000000000 +0300
+++ linux-4.9.y/fs/fat/fatent.c 2021-06-07 13:01:34.000000000 +0300
@@ -380,6 +380,9 @@
int err, n, copy;
err = 0;
+#ifdef CONFIG_GOKE_MC
+ return 0;
+#endif
for (copy = 1; copy < sbi->fats; copy++) {
sector_t backup_fat = sbi->fat_length * copy;