Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263079
b: refs/heads/master
c: 710d440
h: refs/heads/master
i:
  263077: 0bd475a
  263075: 49f6366
  263071: b0823e7
v: v3
  • Loading branch information
Namjae Jeon authored and OGAWA Hirofumi committed Aug 17, 2011
1 parent 153111d commit 4b891e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 186b53701ca5a843b07ca44a8d954dc6043c70f4
refs/heads/master: 710d4403a45c4040a9aa86971d50958f5ae6ed40
3 changes: 1 addition & 2 deletions trunk/fs/fat/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1365,6 +1365,7 @@ int fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat,
sbi->free_clusters = -1; /* Don't know yet */
sbi->free_clus_valid = 0;
sbi->prev_free = FAT_START_ENT;
sb->s_maxbytes = 0xffffffff;

if (!sbi->fat_length && b->fat32_length) {
struct fat_boot_fsinfo *fsinfo;
Expand All @@ -1375,8 +1376,6 @@ int fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat,
sbi->fat_length = le32_to_cpu(b->fat32_length);
sbi->root_cluster = le32_to_cpu(b->root_cluster);

sb->s_maxbytes = 0xffffffff;

/* MC - if info_sector is 0, don't multiply by 0 */
sbi->fsinfo_sector = le16_to_cpu(b->info_sector);
if (sbi->fsinfo_sector == 0)
Expand Down

0 comments on commit 4b891e2

Please sign in to comment.