提交 bbf2f9fb 编写于 作者: R Robert P. J. Day 提交者: Adrian Bunk

Fix misspellings of "agressive".

Fix the various misspellings of "agressive", as well as a couple
other things on the same lines while we're there.
Signed-off-by: NRobert P. J. Day <rpjday@mindspring.com>
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
上级 4c3ee826
...@@ -1020,7 +1020,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = { ...@@ -1020,7 +1020,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = {
* It shall be a tagged command. * It shall be a tagged command.
* Read SIMPLE+TAG. * Read SIMPLE+TAG.
* The C code will deal with errors. * The C code will deal with errors.
* Agressive optimization, is'nt it? :) * Aggressive optimization, isn't it? :)
*/ */
SCR_MOVE_ABS (2) ^ SCR_MSG_IN, SCR_MOVE_ABS (2) ^ SCR_MSG_IN,
HADDR_1 (msgin), HADDR_1 (msgin),
...@@ -1044,7 +1044,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = { ...@@ -1044,7 +1044,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = {
RADDR_1 (dsa), RADDR_1 (dsa),
/* /*
* The SIDL still contains the TAG value. * The SIDL still contains the TAG value.
* Agressive optimization, isn't it? :):) * Aggressive optimization, isn't it? :):)
*/ */
SCR_REG_SFBR (sidl, SCR_SHL, 0), SCR_REG_SFBR (sidl, SCR_SHL, 0),
0, 0,
......
...@@ -956,7 +956,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = { ...@@ -956,7 +956,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = {
* It shall be a tagged command. * It shall be a tagged command.
* Read SIMPLE+TAG. * Read SIMPLE+TAG.
* The C code will deal with errors. * The C code will deal with errors.
* Agressive optimization, is'nt it? :) * Aggressive optimization, isn't it? :)
*/ */
SCR_MOVE_ABS (2) ^ SCR_MSG_IN, SCR_MOVE_ABS (2) ^ SCR_MSG_IN,
HADDR_1 (msgin), HADDR_1 (msgin),
...@@ -968,7 +968,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = { ...@@ -968,7 +968,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = {
offsetof(struct sym_lcb, head.itlq_tbl_sa), offsetof(struct sym_lcb, head.itlq_tbl_sa),
/* /*
* The SIDL still contains the TAG value. * The SIDL still contains the TAG value.
* Agressive optimization, isn't it? :):) * Aggressive optimization, isn't it? :):)
*/ */
SCR_REG_SFBR (sidl, SCR_SHL, 0), SCR_REG_SFBR (sidl, SCR_SHL, 0),
0, 0,
......
...@@ -222,7 +222,7 @@ static int ext4_ext_space_block(struct inode *inode) ...@@ -222,7 +222,7 @@ static int ext4_ext_space_block(struct inode *inode)
size = (inode->i_sb->s_blocksize - sizeof(struct ext4_extent_header)) size = (inode->i_sb->s_blocksize - sizeof(struct ext4_extent_header))
/ sizeof(struct ext4_extent); / sizeof(struct ext4_extent);
#ifdef AGRESSIVE_TEST #ifdef AGGRESSIVE_TEST
if (size > 6) if (size > 6)
size = 6; size = 6;
#endif #endif
...@@ -235,7 +235,7 @@ static int ext4_ext_space_block_idx(struct inode *inode) ...@@ -235,7 +235,7 @@ static int ext4_ext_space_block_idx(struct inode *inode)
size = (inode->i_sb->s_blocksize - sizeof(struct ext4_extent_header)) size = (inode->i_sb->s_blocksize - sizeof(struct ext4_extent_header))
/ sizeof(struct ext4_extent_idx); / sizeof(struct ext4_extent_idx);
#ifdef AGRESSIVE_TEST #ifdef AGGRESSIVE_TEST
if (size > 5) if (size > 5)
size = 5; size = 5;
#endif #endif
...@@ -249,7 +249,7 @@ static int ext4_ext_space_root(struct inode *inode) ...@@ -249,7 +249,7 @@ static int ext4_ext_space_root(struct inode *inode)
size = sizeof(EXT4_I(inode)->i_data); size = sizeof(EXT4_I(inode)->i_data);
size -= sizeof(struct ext4_extent_header); size -= sizeof(struct ext4_extent_header);
size /= sizeof(struct ext4_extent); size /= sizeof(struct ext4_extent);
#ifdef AGRESSIVE_TEST #ifdef AGGRESSIVE_TEST
if (size > 3) if (size > 3)
size = 3; size = 3;
#endif #endif
...@@ -263,7 +263,7 @@ static int ext4_ext_space_root_idx(struct inode *inode) ...@@ -263,7 +263,7 @@ static int ext4_ext_space_root_idx(struct inode *inode)
size = sizeof(EXT4_I(inode)->i_data); size = sizeof(EXT4_I(inode)->i_data);
size -= sizeof(struct ext4_extent_header); size -= sizeof(struct ext4_extent_header);
size /= sizeof(struct ext4_extent_idx); size /= sizeof(struct ext4_extent_idx);
#ifdef AGRESSIVE_TEST #ifdef AGGRESSIVE_TEST
if (size > 4) if (size > 4)
size = 4; size = 4;
#endif #endif
...@@ -1118,7 +1118,7 @@ ext4_can_extents_be_merged(struct inode *inode, struct ext4_extent *ex1, ...@@ -1118,7 +1118,7 @@ ext4_can_extents_be_merged(struct inode *inode, struct ext4_extent *ex1,
*/ */
if (le16_to_cpu(ex1->ee_len) + le16_to_cpu(ex2->ee_len) > EXT_MAX_LEN) if (le16_to_cpu(ex1->ee_len) + le16_to_cpu(ex2->ee_len) > EXT_MAX_LEN)
return 0; return 0;
#ifdef AGRESSIVE_TEST #ifdef AGGRESSIVE_TEST
if (le16_to_cpu(ex1->ee_len) >= 4) if (le16_to_cpu(ex1->ee_len) >= 4)
return 0; return 0;
#endif #endif
...@@ -1891,8 +1891,8 @@ void ext4_ext_init(struct super_block *sb) ...@@ -1891,8 +1891,8 @@ void ext4_ext_init(struct super_block *sb)
if (test_opt(sb, EXTENTS)) { if (test_opt(sb, EXTENTS)) {
printk("EXT4-fs: file extents enabled"); printk("EXT4-fs: file extents enabled");
#ifdef AGRESSIVE_TEST #ifdef AGGRESSIVE_TEST
printk(", agressive tests"); printk(", aggressive tests");
#endif #endif
#ifdef CHECK_BINSEARCH #ifdef CHECK_BINSEARCH
printk(", check binsearch"); printk(", check binsearch");
......
...@@ -22,12 +22,12 @@ ...@@ -22,12 +22,12 @@
#include <linux/ext4_fs.h> #include <linux/ext4_fs.h>
/* /*
* With AGRESSIVE_TEST defined, the capacity of index/leaf blocks * With AGGRESSIVE_TEST defined, the capacity of index/leaf blocks
* becomes very small, so index split, in-depth growing and * becomes very small, so index split, in-depth growing and
* other hard changes happen much more often. * other hard changes happen much more often.
* This is for debug purposes only. * This is for debug purposes only.
*/ */
#define AGRESSIVE_TEST_ #define AGGRESSIVE_TEST_
/* /*
* With EXTENTS_STATS defined, the number of blocks and extents * With EXTENTS_STATS defined, the number of blocks and extents
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册