diff options
-rw-r--r-- | fs/fat/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index bf918929e793..5f522a55b596 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
@@ -1226,7 +1226,7 @@ int fat_fill_super(struct super_block *sb, void *data, int silent, | |||
1226 | le16_to_cpu(get_unaligned((__le16 *)&b->sector_size)); | 1226 | le16_to_cpu(get_unaligned((__le16 *)&b->sector_size)); |
1227 | if (!is_power_of_2(logical_sector_size) | 1227 | if (!is_power_of_2(logical_sector_size) |
1228 | || (logical_sector_size < 512) | 1228 | || (logical_sector_size < 512) |
1229 | || (PAGE_CACHE_SIZE < logical_sector_size)) { | 1229 | || (logical_sector_size > 4096)) { |
1230 | if (!silent) | 1230 | if (!silent) |
1231 | printk(KERN_ERR "FAT: bogus logical sector size %u\n", | 1231 | printk(KERN_ERR "FAT: bogus logical sector size %u\n", |
1232 | logical_sector_size); | 1232 | logical_sector_size); |