OSDN Git Service

e2fsck: Fix max size calculation for extent files
authorTheodore Ts'o <tytso@mit.edu>
Sun, 17 Aug 2008 13:41:38 +0000 (09:41 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 17 Aug 2008 13:41:38 +0000 (09:41 -0400)
commit3ec7be439ab8fafb7b82632948e0adb067dde6ab
treeb7e8e5a44676642c51563176185cd110f6aa2c73
parentc9ca844628cc2deb2e00f42a317f0f2e38e1e7f2
e2fsck: Fix max size calculation for extent files

A misunderstanding C's precedence rules and the meaning of
s_log_block_size meant that we were capping the maximum size of
extent-based files at 8GB instead of the 64TB that it should be for
filesystems with 4k block sizes.

Addresses-Kernel-Bugzilla: #11341

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/pass1.c