lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 10 Oct 2011 10:50:43 -0500
From:	Eric Sandeen <sandeen@...hat.com>
To:	ext4 development <linux-ext4@...r.kernel.org>
Subject: "- 8" in EXT2_MAX_BLOCKS_PER_GROUP

When looking at the maximal filesystem size issue, I found myself
wondering what the "- 8" is in here, it's not commented
or documented anywhere:

#define EXT2_MAX_BLOCKS_PER_GROUP(s)    (((1 << 16) - 8) *      \
                                          (EXT2_CLUSTER_SIZE(s) / \
                                           EXT2_BLOCK_SIZE(s)))


(pre-bigalloc, it was just ((1 << 16) - 8) )

Anyone know?

-Eric

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ