]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - e2fsck/super.c
e2fsck, libext2fs: support for bigalloc file systems with a blocksize of 1024
authorTheodore Ts'o <tytso@mit.edu>
Tue, 5 Jul 2011 17:42:07 +0000 (13:42 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 5 Jul 2011 17:42:07 +0000 (13:42 -0400)
commit25567a7b0fa98b390fd1ff0d4702b29c23a75bbb
tree0779a55cf5591267a124ef4ad920713fc2af1a17
parentf37901a22d618916b53105e39ff91a8bb84d67bc
e2fsck, libext2fs: support for bigalloc file systems with a blocksize of 1024

Filesystems with a blocksize of 1024 have the superblock starting at
block #1.  However, the first data block in the superblock is 0 to
simplify the cluster calculations.  So we must compensate for this in
a number of places, mostly in the ext2fs library, but also in e2fsck.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/super.c
lib/ext2fs/alloc_sb.c
lib/ext2fs/alloc_tables.c
lib/ext2fs/closefs.c
lib/ext2fs/openfs.c
lib/ext2fs/res_gdt.c