mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
fat: fix error message for bogus number of directory entries
"bogus directory-entries per block" was reported for what was instead bogus number of directory entries. The message also mismatched the argument passed to printk(), which was sbi->dir_entries. Fix this by replacing the message with "bogus number of directory entries". printk() argument was kept unchanged. Signed-off-by: Zheng Lv <[email protected]> Acked-by: OGAWA Hirofumi <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
parent
dcc381e833
commit
34df117414
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
if (sbi->dir_entries & (sbi->dir_per_block - 1)) {
|
||||
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);
|
||||
goto out_invalid;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue