aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fat
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-07-28 17:22:25 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2016-07-28 17:22:25 -0400
commit69c4289449b954f87ce33904bbb1b27dc075dcfa (patch)
tree281d93b5b3d65e832e2fe8e7ff77d89a7de7539b /fs/fat
parent76d5b28bbad1c5502a24f94c2beafc468690b2ba (diff)
parent34df117414d73cb56d128bf7016a4c151f95c313 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree updates from Jiri Kosina. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: fat: fix error message for bogus number of directory entries fat: fix typo s/supeblock/superblock/ ASoC: max9877: Remove unused function declaration dw2102: don't output spurious blank lines to the kernel log init: fix Kconfig text ARM: io: fix comment grammar ocfs: fix ocfs2_xattr_user_get() argument name scsi/qla2xxx: Remove erroneous unused macro qla82xx_get_temp_val1()
Diffstat (limited to 'fs/fat')
-rw-r--r--fs/fat/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c
index 3bcf57925dca..da04c0298fab 100644
--- a/fs/fat/inode.c
+++ b/fs/fat/inode.c
@@ -1589,7 +1589,7 @@ int fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat,
1589 1589
1590 /* 1590 /*
1591 * GFP_KERNEL is ok here, because while we do hold the 1591 * GFP_KERNEL is ok here, because while we do hold the
1592 * supeblock lock, memory pressure can't call back into 1592 * superblock lock, memory pressure can't call back into
1593 * the filesystem, since we're only just about to mount 1593 * the filesystem, since we're only just about to mount
1594 * it and have no inodes etc active! 1594 * it and have no inodes etc active!
1595 */ 1595 */
@@ -1726,7 +1726,7 @@ int fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat,
1726 sbi->dir_entries = bpb.fat_dir_entries; 1726 sbi->dir_entries = bpb.fat_dir_entries;
1727 if (sbi->dir_entries & (sbi->dir_per_block - 1)) { 1727 if (sbi->dir_entries & (sbi->dir_per_block - 1)) {
1728 if (!silent) 1728 if (!silent)
1729 fat_msg(sb, KERN_ERR, "bogus directory-entries per block" 1729 fat_msg(sb, KERN_ERR, "bogus number of directory entries"
1730 " (%u)", sbi->dir_entries); 1730 " (%u)", sbi->dir_entries);
1731 goto out_invalid; 1731 goto out_invalid;
1732 } 1732 }