mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
* 'for-linus' of git://git.kernel.dk/linux-2.6-block: Fix kernel-doc parameter name typo in blk-settings.c: block: rename CONFIG_LBD to CONFIG_LBDAF block: Fix bounce_pfn setting hd: stop defining MAJOR_NR
This commit is contained in:
commit
31583d6acf
16 changed files with 25 additions and 27 deletions
|
|
@ -990,7 +990,7 @@ int ext3_group_extend(struct super_block *sb, struct ext3_super_block *es,
|
|||
sb->s_id, n_blocks_count);
|
||||
if (sizeof(sector_t) < 8)
|
||||
ext3_warning(sb, __func__,
|
||||
"CONFIG_LBD not enabled\n");
|
||||
"CONFIG_LBDAF not enabled\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1812,7 +1812,7 @@ static int ext3_fill_super (struct super_block *sb, void *data, int silent)
|
|||
printk(KERN_ERR "EXT3-fs: filesystem on %s:"
|
||||
" too large to mount safely\n", sb->s_id);
|
||||
if (sizeof(sector_t) < 8)
|
||||
printk(KERN_WARNING "EXT3-fs: CONFIG_LBD not "
|
||||
printk(KERN_WARNING "EXT3-fs: CONFIG_LBDAF not "
|
||||
"enabled\n");
|
||||
goto failed_mount;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1002,7 +1002,7 @@ int ext4_group_extend(struct super_block *sb, struct ext4_super_block *es,
|
|||
" too large to resize to %llu blocks safely\n",
|
||||
sb->s_id, n_blocks_count);
|
||||
if (sizeof(sector_t) < 8)
|
||||
ext4_warning(sb, __func__, "CONFIG_LBD not enabled");
|
||||
ext4_warning(sb, __func__, "CONFIG_LBDAF not enabled");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1959,7 +1959,7 @@ static loff_t ext4_max_size(int blkbits, int has_huge_files)
|
|||
/* small i_blocks in vfs inode? */
|
||||
if (!has_huge_files || sizeof(blkcnt_t) < sizeof(u64)) {
|
||||
/*
|
||||
* CONFIG_LBD is not enabled implies the inode
|
||||
* CONFIG_LBDAF is not enabled implies the inode
|
||||
* i_block represent total blocks in 512 bytes
|
||||
* 32 == size of vfs inode i_blocks * 8
|
||||
*/
|
||||
|
|
@ -2002,7 +2002,7 @@ static loff_t ext4_max_bitmap_size(int bits, int has_huge_files)
|
|||
|
||||
if (!has_huge_files || sizeof(blkcnt_t) < sizeof(u64)) {
|
||||
/*
|
||||
* !has_huge_files or CONFIG_LBD not enabled implies that
|
||||
* !has_huge_files or CONFIG_LBDAF not enabled implies that
|
||||
* the inode i_block field represents total file blocks in
|
||||
* 2^32 512-byte sectors == size of vfs inode i_blocks * 8
|
||||
*/
|
||||
|
|
@ -2440,13 +2440,13 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
|
|||
if (has_huge_files) {
|
||||
/*
|
||||
* Large file size enabled file system can only be
|
||||
* mount if kernel is build with CONFIG_LBD
|
||||
* mount if kernel is build with CONFIG_LBDAF
|
||||
*/
|
||||
if (sizeof(root->i_blocks) < sizeof(u64) &&
|
||||
!(sb->s_flags & MS_RDONLY)) {
|
||||
ext4_msg(sb, KERN_ERR, "Filesystem with huge "
|
||||
"files cannot be mounted read-write "
|
||||
"without CONFIG_LBD");
|
||||
"without CONFIG_LBDAF");
|
||||
goto failed_mount;
|
||||
}
|
||||
}
|
||||
|
|
@ -2570,7 +2570,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
|
|||
ext4_msg(sb, KERN_ERR, "filesystem"
|
||||
" too large to mount safely");
|
||||
if (sizeof(sector_t) < 8)
|
||||
ext4_msg(sb, KERN_WARNING, "CONFIG_LBD not enabled");
|
||||
ext4_msg(sb, KERN_WARNING, "CONFIG_LBDAF not enabled");
|
||||
goto failed_mount;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
config GFS2_FS
|
||||
tristate "GFS2 file system support"
|
||||
depends on EXPERIMENTAL && (64BIT || LBD)
|
||||
depends on EXPERIMENTAL && (64BIT || LBDAF)
|
||||
select DLM if GFS2_FS_LOCKING_DLM
|
||||
select CONFIGFS_FS if GFS2_FS_LOCKING_DLM
|
||||
select SYSFS if GFS2_FS_LOCKING_DLM
|
||||
|
|
|
|||
|
|
@ -552,7 +552,7 @@ static unsigned long long ocfs2_max_file_offset(unsigned int bbits,
|
|||
*/
|
||||
|
||||
#if BITS_PER_LONG == 32
|
||||
# if defined(CONFIG_LBD)
|
||||
# if defined(CONFIG_LBDAF)
|
||||
BUILD_BUG_ON(sizeof(sector_t) != 8);
|
||||
/*
|
||||
* We might be limited by page cache size.
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
* XFS_BIG_BLKNOS needs block layer disk addresses to be 64 bits.
|
||||
* XFS_BIG_INUMS requires XFS_BIG_BLKNOS to be set.
|
||||
*/
|
||||
#if defined(CONFIG_LBD) || (BITS_PER_LONG == 64)
|
||||
#if defined(CONFIG_LBDAF) || (BITS_PER_LONG == 64)
|
||||
# define XFS_BIG_BLKNOS 1
|
||||
# define XFS_BIG_INUMS 1
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -616,7 +616,7 @@ xfs_max_file_offset(
|
|||
*/
|
||||
|
||||
#if BITS_PER_LONG == 32
|
||||
# if defined(CONFIG_LBD)
|
||||
# if defined(CONFIG_LBDAF)
|
||||
ASSERT(sizeof(sector_t) == 8);
|
||||
pagefactor = PAGE_CACHE_SIZE;
|
||||
bitshift = BITS_PER_LONG;
|
||||
|
|
|
|||
Loading…
Reference in a new issue