From 9d40ac5867b9aefe0722bc1f110b965ff294d30d Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 10:00:36 +0800 Subject: add via modify part source code for wm8880 4.4 kitkat --- ANDROID_3.4.5/fs/fat/dir.c | 2 +- ANDROID_3.4.5/fs/fat/fatent.c | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'ANDROID_3.4.5/fs/fat') diff --git a/ANDROID_3.4.5/fs/fat/dir.c b/ANDROID_3.4.5/fs/fat/dir.c index 65e174bd..057df917 100644 --- a/ANDROID_3.4.5/fs/fat/dir.c +++ b/ANDROID_3.4.5/fs/fat/dir.c @@ -98,7 +98,7 @@ next: *bh = sb_bread(sb, phys); if (*bh == NULL) { - fat_msg(sb, KERN_ERR, "Directory bread(block %llu) failed", + fat_msg(sb, KERN_DEBUG, "Directory bread(block %llu) failed", (llu)phys); /* skip this block */ *pos = (iblock + 1) << sb->s_blocksize_bits; diff --git a/ANDROID_3.4.5/fs/fat/fatent.c b/ANDROID_3.4.5/fs/fat/fatent.c index 2e81ac0d..4a879483 100644 --- a/ANDROID_3.4.5/fs/fat/fatent.c +++ b/ANDROID_3.4.5/fs/fat/fatent.c @@ -95,7 +95,8 @@ static int fat12_ent_bread(struct super_block *sb, struct fat_entry *fatent, err_brelse: brelse(bhs[0]); err: - fat_msg(sb, KERN_ERR, "FAT read failed (blocknr %llu)", (llu)blocknr); + //kevin delete, it show too much log + //fat_msg(sb, KERN_ERR, "FAT read failed (blocknr %llu)", (llu)blocknr); return -EIO; } @@ -108,8 +109,9 @@ static int fat_ent_bread(struct super_block *sb, struct fat_entry *fatent, fatent->fat_inode = MSDOS_SB(sb)->fat_inode; fatent->bhs[0] = sb_bread(sb, blocknr); if (!fatent->bhs[0]) { - fat_msg(sb, KERN_ERR, "FAT read failed (blocknr %llu)", - (llu)blocknr); + //kevin delete, it show too much log + //fat_msg(sb, KERN_ERR, "FAT read failed (blocknr %llu)", + // (llu)blocknr); return -EIO; } fatent->nr_bhs = 1; -- cgit