summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/fs/fat
diff options
context:
space:
mode:
authorKevin2014-11-15 10:00:36 +0800
committerKevin2014-11-15 10:00:36 +0800
commit9d40ac5867b9aefe0722bc1f110b965ff294d30d (patch)
treede942df665fac4bac0d9cb7ae86910fe937b0c1a /ANDROID_3.4.5/fs/fat
parent392e8802486cb573b916e746010e141a75f507e6 (diff)
downloadFOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.tar.gz
FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.tar.bz2
FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.zip
add via modify part source code for wm8880 4.4 kitkat
Diffstat (limited to 'ANDROID_3.4.5/fs/fat')
-rw-r--r--ANDROID_3.4.5/fs/fat/dir.c2
-rw-r--r--ANDROID_3.4.5/fs/fat/fatent.c8
2 files changed, 6 insertions, 4 deletions
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;