aboutsummaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorPatrick J. LoPresti <[email protected]>2010-07-22 15:03:41 -0700
committerJoel Becker <[email protected]>2010-09-10 08:41:42 -0700
commit30ca22c70e3ef0a96ff84de69cd7e8561b416cb2 (patch)
tree0da339bf657ae19a39baf3c4d31ebfb0ae6c09ce /net/lapb
parent729963a1ff8d069d05dab6a024bfd59805ac622c (diff)
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 <[email protected]> Cc: [email protected] Acked-by: Andreas Dilger <[email protected]> Signed-off-by: Joel Becker <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions