Date: Wed, 10 Jun 2009 16:50:02 GMT From: Aditya Sarawgi <truncs@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 164017 for review Message-ID: <200906101650.n5AGo2fF009380@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=164017 Change 164017 by truncs@aditya on 2009/06/10 16:49:50 Fixed typos and other migration issues. Affected files ... .. //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_alloc.c#6 edit .. //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_fs.h#10 edit .. //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_vfsops.c#8 edit Differences ... ==== //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_alloc.c#6 (text+ko) ==== @@ -368,7 +368,7 @@ *vpp = NULL; pip = VTOI(pvp); fs = pip->i_e2fs; - if (fs->e2fs->s_free_inodes_count == 0) + if (fs->e2fs->e2fs_ficount == 0) goto noinodes; /* call the Linux routine - it returns the inode number only */ ==== //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_fs.h#10 (text+ko) ==== @@ -526,7 +526,7 @@ #define EXT2_HAS_RO_COMPAT_FEATURE(sb,mask) \ ( EXT2_SB(sb)->e2fs->e2fs_features_rocompat & cpu_to_le32(mask) ) #define EXT2_HAS_INCOMPAT_FEATURE(sb,mask) \ - ( EXT2_SB(sb)->e2fs->e2fs_feature_incompat & cpu_to_le32(mask) ) + ( EXT2_SB(sb)->e2fs->e2fs_features_incompat & cpu_to_le32(mask) ) #define EXT2_FEATURE_COMPAT_DIR_PREALLOC 0x0001 ==== //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_vfsops.c#8 (text+ko) ==== @@ -356,7 +356,7 @@ devtoname(dev), es->e2fs_magic, EXT2_SUPER_MAGIC); return (1); } - if (es->s_rev_level > EXT2_GOOD_OLD_REV) { + if (es->e2fs_rev > EXT2_GOOD_OLD_REV) { if (es->e2fs_features_incompat & ~EXT2_FEATURE_INCOMPAT_SUPP) { printf( "WARNING: mount of %s denied due to unsupported optional features\n", @@ -463,7 +463,7 @@ } fs->e2fs_lib = 0; fs->e2fs_lbb = 0; - if (es->s_rev_level == EXT2_GOOD_OLD_REV || + if (es->e2fs_rev == EXT2_GOOD_OLD_REV || (es->e2fs_features_rocompat & EXT2_FEATURE_RO_COMPAT_LARGE_FILE) == 0) fs->e2fs_maxfilesize = 0x7fffffff; else @@ -580,7 +580,7 @@ struct ext2mount *ump; struct buf *bp; struct m_ext2fs *fs; - struct ext2_super_block *es; + struct ext2fs *es; struct cdev *dev = devvp->v_rdev; struct g_consumer *cp; struct bufobj *bo;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906101650.n5AGo2fF009380>