super.c (d905163c5b23f6d8511971e06081a1b525e8a0bd) super.c (90c699a9ee4be165966d40f1837909ccb8890a68)
1/* -*- mode: c; c-basic-offset: 8; -*-
2 * vim: noexpandtab sw=8 ts=8 sts=0:
3 *
4 * super.c
5 *
6 * load/unload driver, mount/dismount volumes
7 *
8 * Copyright (C) 2002, 2004 Oracle. All rights reserved.

--- 538 unchanged lines hidden (view full) ---

547
548 /*
549 * i_size and all block offsets in ocfs2 are always 64 bits
550 * wide. i_clusters is 32 bits, in cluster-sized units. So on
551 * 64 bit platforms, cluster size will be the limiting factor.
552 */
553
554#if BITS_PER_LONG == 32
1/* -*- mode: c; c-basic-offset: 8; -*-
2 * vim: noexpandtab sw=8 ts=8 sts=0:
3 *
4 * super.c
5 *
6 * load/unload driver, mount/dismount volumes
7 *
8 * Copyright (C) 2002, 2004 Oracle. All rights reserved.

--- 538 unchanged lines hidden (view full) ---

547
548 /*
549 * i_size and all block offsets in ocfs2 are always 64 bits
550 * wide. i_clusters is 32 bits, in cluster-sized units. So on
551 * 64 bit platforms, cluster size will be the limiting factor.
552 */
553
554#if BITS_PER_LONG == 32
555# if defined(CONFIG_LBD)
555# if defined(CONFIG_LBDAF)
556 BUILD_BUG_ON(sizeof(sector_t) != 8);
557 /*
558 * We might be limited by page cache size.
559 */
560 if (bytes > PAGE_CACHE_SIZE) {
561 bytes = PAGE_CACHE_SIZE;
562 trim = 1;
563 /*

--- 1906 unchanged lines hidden ---
556 BUILD_BUG_ON(sizeof(sector_t) != 8);
557 /*
558 * We might be limited by page cache size.
559 */
560 if (bytes > PAGE_CACHE_SIZE) {
561 bytes = PAGE_CACHE_SIZE;
562 trim = 1;
563 /*

--- 1906 unchanged lines hidden ---