super.c (10ce3cc919f50c2043b41ca968b43c26a3672600) | super.c (8de52778798fe39660a8d6b26f290e0c93202761) |
---|---|
1/* 2 * linux/fs/ext2/super.c 3 * 4 * Copyright (C) 1992, 1993, 1994, 1995 5 * Remy Card (card@masi.ibp.fr) 6 * Laboratoire MASI - Institut Blaise Pascal 7 * Universite Pierre et Marie Curie (Paris VI) 8 * --- 905 unchanged lines hidden (view full) --- 914 sbi->s_es = es; 915 if (es->s_magic != cpu_to_le16(EXT2_SUPER_MAGIC)) { 916 ext2_msg(sb, KERN_ERR, "error: magic mismatch"); 917 goto failed_mount; 918 } 919 } 920 921 sb->s_maxbytes = ext2_max_size(sb->s_blocksize_bits); | 1/* 2 * linux/fs/ext2/super.c 3 * 4 * Copyright (C) 1992, 1993, 1994, 1995 5 * Remy Card (card@masi.ibp.fr) 6 * Laboratoire MASI - Institut Blaise Pascal 7 * Universite Pierre et Marie Curie (Paris VI) 8 * --- 905 unchanged lines hidden (view full) --- 914 sbi->s_es = es; 915 if (es->s_magic != cpu_to_le16(EXT2_SUPER_MAGIC)) { 916 ext2_msg(sb, KERN_ERR, "error: magic mismatch"); 917 goto failed_mount; 918 } 919 } 920 921 sb->s_maxbytes = ext2_max_size(sb->s_blocksize_bits); |
922 sb->s_max_links = EXT2_LINK_MAX; |
|
922 923 if (le32_to_cpu(es->s_rev_level) == EXT2_GOOD_OLD_REV) { 924 sbi->s_inode_size = EXT2_GOOD_OLD_INODE_SIZE; 925 sbi->s_first_ino = EXT2_GOOD_OLD_FIRST_INO; 926 } else { 927 sbi->s_inode_size = le16_to_cpu(es->s_inode_size); 928 sbi->s_first_ino = le32_to_cpu(es->s_first_ino); 929 if ((sbi->s_inode_size < EXT2_GOOD_OLD_INODE_SIZE) || --- 598 unchanged lines hidden --- | 923 924 if (le32_to_cpu(es->s_rev_level) == EXT2_GOOD_OLD_REV) { 925 sbi->s_inode_size = EXT2_GOOD_OLD_INODE_SIZE; 926 sbi->s_first_ino = EXT2_GOOD_OLD_FIRST_INO; 927 } else { 928 sbi->s_inode_size = le16_to_cpu(es->s_inode_size); 929 sbi->s_first_ino = le32_to_cpu(es->s_first_ino); 930 if ((sbi->s_inode_size < EXT2_GOOD_OLD_INODE_SIZE) || --- 598 unchanged lines hidden --- |