Commit 61c82a36 authored by Eric Sandeen's avatar Eric Sandeen Committed by Nathan Scott

[XFS] Fix test for large sector_t when finding max file offset

SGI Modid: 2.5.x-xfs:slinx:160900a
parent 4d51e7a0
......@@ -120,7 +120,7 @@ xfs_max_file_offset(
*/
#if BITS_PER_LONG == 32
# if defined(HAVE_SECTOR_T)
# if defined(CONFIG_LBD)
ASSERT(sizeof(sector_t) == 8);
pagefactor = PAGE_CACHE_SIZE;
bitshift = BITS_PER_LONG;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment