enabled, but s_reserved_gdt_blocks is zero and there is no double indirect
block in the resize inode. If there are no blocks reserved for on-line
expansion, there is no need for the DIND block to be allocated in the resize
inode.
+2005-01-21 Theodore Ts'o <tytso@mit.edu>
+
+ * super.c (check_resize_inode): If resize feature is set, but
+ s_reserved_gdt_blocks is zero, do not insist that resize
+ inode must have double indirect block.
+
2005-01-19 Theodore Ts'o <tytso@mit.edu>
* unix.c (e2fsck_simple_progress): Use fixed integer math
* only block in use is the double indirect block
*/
blk = inode.i_block[EXT2_DIND_BLOCK];
+ if (!blk && !fs->super->s_reserved_gdt_blocks)
+ /* No reserved gdt blocks; no need for dind block */
+ return;
for (i=0; i < EXT2_N_BLOCKS; i++) {
if (i != EXT2_DIND_BLOCK && inode.i_block[i])
break;