]> git.ipfire.org Git - thirdparty/kernel/linux.git/blobdiff - fs/ocfs2/super.c
block: remove CONFIG_LBDAF
[thirdparty/kernel/linux.git] / fs / ocfs2 / super.c
index 96ae7cedd487931ca8d1af33270763c9e186931b..fc3d29eceb2fe4c2a8dfb857eb301b0ab30068c6 100644 (file)
@@ -600,7 +600,6 @@ static unsigned long long ocfs2_max_file_offset(unsigned int bbits,
         */
 
 #if BITS_PER_LONG == 32
-# if defined(CONFIG_LBDAF)
        BUILD_BUG_ON(sizeof(sector_t) != 8);
        /*
         * We might be limited by page cache size.
@@ -614,15 +613,6 @@ static unsigned long long ocfs2_max_file_offset(unsigned int bbits,
                 */
                bitshift = 31;
        }
-# else
-       /*
-        * We are limited by the size of sector_t. Use block size, as
-        * that's what we expose to the VFS.
-        */
-       bytes = 1 << bbits;
-       trim = 1;
-       bitshift = 31;
-# endif
 #endif
 
        /*