aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fat/fatent.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fat/fatent.c')
-rw-r--r--fs/fat/fatent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c
index da6eea47872f..60c31f7e678c 100644
--- a/fs/fat/fatent.c
+++ b/fs/fat/fatent.c
@@ -345,7 +345,7 @@ int fat_ent_read(struct inode *inode, struct fat_entry *fatent, int entry)
345 345
346 if (entry < FAT_START_ENT || sbi->max_cluster <= entry) { 346 if (entry < FAT_START_ENT || sbi->max_cluster <= entry) {
347 fatent_brelse(fatent); 347 fatent_brelse(fatent);
348 fat_fs_panic(sb, "invalid access to FAT (entry 0x%08x)", entry); 348 fat_fs_error(sb, "invalid access to FAT (entry 0x%08x)", entry);
349 return -EIO; 349 return -EIO;
350 } 350 }
351 351
@@ -557,7 +557,7 @@ int fat_free_clusters(struct inode *inode, int cluster)
557 err = cluster; 557 err = cluster;
558 goto error; 558 goto error;
559 } else if (cluster == FAT_ENT_FREE) { 559 } else if (cluster == FAT_ENT_FREE) {
560 fat_fs_panic(sb, "%s: deleting FAT entry beyond EOF", 560 fat_fs_error(sb, "%s: deleting FAT entry beyond EOF",
561 __func__); 561 __func__);
562 err = -EIO; 562 err = -EIO;
563 goto error; 563 goto error;