]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
pass1.c (process_block): Change the limit of directory size from
authorTheodore Ts'o <tytso@mit.edu>
Tue, 27 Jul 2004 00:11:49 +0000 (20:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 Jul 2004 00:11:49 +0000 (20:11 -0400)
32 MB to 2GB.

e2fsck/ChangeLog
e2fsck/pass1.c

index 30a0b96247a96acf110e690dd822e1001c5ab93b..eb855489e71bd9521481e64d18b353406c3d2b1c 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-26  Theodore Ts'o  <tytso@mit.edu>
+
+       * pass1.c (process_block): Change the limit of directory size from
+               32 MB to 2GB.
+
 2004-05-11  Theodore Ts'o  <tytso@mit.edu>
 
        * journal.c (sync_blockdev): Flush I/O caches to preserve ordering
index a02fd6d396dea3352f012f01c1494d5b4d408d70..2fde92bb6e9adb1a2938de7703e39c0e348af0ff 100644 (file)
@@ -1491,7 +1491,7 @@ static int process_block(ext2_filsys fs,
        }
        p->previous_block = blk;
 
-       if (p->is_dir && blockcnt > (1 << (15 - fs->super->s_log_block_size)))
+       if (p->is_dir && blockcnt > (1 << (21 - fs->super->s_log_block_size)))
                problem = PR_1_TOOBIG_DIR;
        if (p->is_reg && p->num_blocks+1 >= p->max_blocks)
                problem = PR_1_TOOBIG_REG;