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

index 38cfeb1908a352077f7c3e9ede42ee221b926d2e..ee953113a53c873ca8159e355741045944f7ef42 100644 (file)
@@ -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;
        }