Home
last modified time | relevance | path

Searched hist:"30 ca22c70e3ef0a96ff84de69cd7e8561b416cb2" (Results 1 – 1 of 1) sorted by relevance

/linux/fs/
H A Dlibfs.cdiff 30ca22c70e3ef0a96ff84de69cd7e8561b416cb2 Fri Jul 23 00:03:41 CEST 2010 Patrick J. LoPresti <lopresti@gmail.com> ext3/ext4: Factor out disk addressability check

As part of adding support for OCFS2 to mount huge volumes, we need to
check that the sector_t and page cache of the system are capable of
addressing the entire volume.

An identical check already appears in ext3 and ext4. This patch moves
the addressability check into its own function in fs/libfs.c and
modifies ext3 and ext4 to invoke it.

[Edited to -EINVAL instead of BUG_ON() for bad blocksize_bits -- Joel]

Signed-off-by: Patrick LoPresti <lopresti@gmail.com>
Cc: linux-ext4@vger.kernel.org
Acked-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Joel Becker <joel.becker@oracle.com>