projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6519f4a
)
rk: fat: quiet report invalid access to FAT
author
黄涛
<huangtao@rock-chips.com>
Thu, 2 Aug 2012 03:49:42 +0000
(11:49 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Thu, 2 Aug 2012 03:49:48 +0000
(11:49 +0800)
fs/fat/fatent.c
patch
|
blob
|
history
diff --git
a/fs/fat/fatent.c
b/fs/fat/fatent.c
index 38cfeb1908a352077f7c3e9ede42ee221b926d2e..ee953113a53c873ca8159e355741045944f7ef42 100644
(file)
--- a/
fs/fat/fatent.c
+++ b/
fs/fat/fatent.c
@@
-348,7
+348,7
@@
int fat_ent_read(struct inode *inode, struct fat_entry *fatent, int entry)
if (entry < FAT_START_ENT || sbi->max_cluster <= entry) {
fatent_brelse(fatent);
- fat_fs_error(sb, "invalid access to FAT (entry 0x%08x)", entry);
+ fat_fs_error
_ratelimit
(sb, "invalid access to FAT (entry 0x%08x)", entry);
return -EIO;
}