diff options
author | jhb <jhb@FreeBSD.org> | 2011-02-01 18:30:52 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2011-02-01 18:30:52 +0000 |
commit | 6121863a62b2549ad05ac2fa330bdfff7f04d3db (patch) | |
tree | c3ce419ab951938fe3e5ee9c97ed5f99d361d3d7 /sys/fs/ext2fs/ext2_vfsops.c | |
parent | 3ce37d1bc3e4097526958b97e4c104e73253237d (diff) | |
download | FreeBSD-src-6121863a62b2549ad05ac2fa330bdfff7f04d3db.zip FreeBSD-src-6121863a62b2549ad05ac2fa330bdfff7f04d3db.tar.gz |
Some cosmetic fixes and remove a duplicate constant.
Submitted by: Pedro F. Giffuni giffunip at yahoo
Diffstat (limited to 'sys/fs/ext2fs/ext2_vfsops.c')
-rw-r--r-- | sys/fs/ext2fs/ext2_vfsops.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/fs/ext2fs/ext2_vfsops.c b/sys/fs/ext2fs/ext2_vfsops.c index 7329eae..041a3a5 100644 --- a/sys/fs/ext2fs/ext2_vfsops.c +++ b/sys/fs/ext2fs/ext2_vfsops.c @@ -59,8 +59,9 @@ #include <fs/ext2fs/inode.h> #include <fs/ext2fs/fs.h> -#include <fs/ext2fs/ext2_extern.h> #include <fs/ext2fs/ext2fs.h> +#include <fs/ext2fs/ext2_dinode.h> +#include <fs/ext2fs/ext2_extern.h> static int ext2_flushfiles(struct mount *mp, int flags, struct thread *td); static int ext2_mountfs(struct vnode *, struct mount *); @@ -329,7 +330,7 @@ compute_sb_data(struct vnode *devvp, struct ext2fs *es, fs->e2fs_fpg = es->e2fs_fpg; fs->e2fs_ipg = es->e2fs_ipg; if (es->e2fs_rev == E2FS_REV0) { - fs->e2fs_first_inode = E2FS_REV0_FIRST_INO; + fs->e2fs_first_inode = EXT2_FIRSTINO; fs->e2fs_isize = E2FS_REV0_INODE_SIZE ; } else { fs->e2fs_first_inode = es->e2fs_first_ino; |