|
@@ -1589,7 +1589,7 @@ int fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat,
|
|
|
|
|
|
/*
|
|
/*
|
|
* GFP_KERNEL is ok here, because while we do hold the
|
|
* GFP_KERNEL is ok here, because while we do hold the
|
|
- * supeblock lock, memory pressure can't call back into
|
|
|
|
|
|
+ * superblock lock, memory pressure can't call back into
|
|
* the filesystem, since we're only just about to mount
|
|
* the filesystem, since we're only just about to mount
|
|
* it and have no inodes etc active!
|
|
* it and have no inodes etc active!
|
|
*/
|
|
*/
|
|
@@ -1726,7 +1726,7 @@ int fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat,
|
|
sbi->dir_entries = bpb.fat_dir_entries;
|
|
sbi->dir_entries = bpb.fat_dir_entries;
|
|
if (sbi->dir_entries & (sbi->dir_per_block - 1)) {
|
|
if (sbi->dir_entries & (sbi->dir_per_block - 1)) {
|
|
if (!silent)
|
|
if (!silent)
|
|
- fat_msg(sb, KERN_ERR, "bogus directory-entries per block"
|
|
|
|
|
|
+ fat_msg(sb, KERN_ERR, "bogus number of directory entries"
|
|
" (%u)", sbi->dir_entries);
|
|
" (%u)", sbi->dir_entries);
|
|
goto out_invalid;
|
|
goto out_invalid;
|
|
}
|
|
}
|