diff options
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_fw1.h | 4 | ||||
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_fw2.h | 4 | ||||
-rw-r--r-- | fs/ext4/extents.c | 14 | ||||
-rw-r--r-- | include/linux/ext4_fs_extents.h | 4 |
4 files changed, 13 insertions, 13 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_fw1.h b/drivers/scsi/sym53c8xx_2/sym_fw1.h index 7b39f4a35e98..7b08d6caaa99 100644 --- a/drivers/scsi/sym53c8xx_2/sym_fw1.h +++ b/drivers/scsi/sym53c8xx_2/sym_fw1.h | |||
@@ -1020,7 +1020,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = { | |||
1020 | * It shall be a tagged command. | 1020 | * It shall be a tagged command. |
1021 | * Read SIMPLE+TAG. | 1021 | * Read SIMPLE+TAG. |
1022 | * The C code will deal with errors. | 1022 | * The C code will deal with errors. |
1023 | * Agressive optimization, is'nt it? :) | 1023 | * Aggressive optimization, isn't it? :) |
1024 | */ | 1024 | */ |
1025 | SCR_MOVE_ABS (2) ^ SCR_MSG_IN, | 1025 | SCR_MOVE_ABS (2) ^ SCR_MSG_IN, |
1026 | HADDR_1 (msgin), | 1026 | HADDR_1 (msgin), |
@@ -1044,7 +1044,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = { | |||
1044 | RADDR_1 (dsa), | 1044 | RADDR_1 (dsa), |
1045 | /* | 1045 | /* |
1046 | * The SIDL still contains the TAG value. | 1046 | * The SIDL still contains the TAG value. |
1047 | * Agressive optimization, isn't it? :):) | 1047 | * Aggressive optimization, isn't it? :):) |
1048 | */ | 1048 | */ |
1049 | SCR_REG_SFBR (sidl, SCR_SHL, 0), | 1049 | SCR_REG_SFBR (sidl, SCR_SHL, 0), |
1050 | 0, | 1050 | 0, |
diff --git a/drivers/scsi/sym53c8xx_2/sym_fw2.h b/drivers/scsi/sym53c8xx_2/sym_fw2.h index 851f2706f220..6e5b952312e3 100644 --- a/drivers/scsi/sym53c8xx_2/sym_fw2.h +++ b/drivers/scsi/sym53c8xx_2/sym_fw2.h | |||
@@ -956,7 +956,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = { | |||
956 | * It shall be a tagged command. | 956 | * It shall be a tagged command. |
957 | * Read SIMPLE+TAG. | 957 | * Read SIMPLE+TAG. |
958 | * The C code will deal with errors. | 958 | * The C code will deal with errors. |
959 | * Agressive optimization, is'nt it? :) | 959 | * Aggressive optimization, isn't it? :) |
960 | */ | 960 | */ |
961 | SCR_MOVE_ABS (2) ^ SCR_MSG_IN, | 961 | SCR_MOVE_ABS (2) ^ SCR_MSG_IN, |
962 | HADDR_1 (msgin), | 962 | HADDR_1 (msgin), |
@@ -968,7 +968,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = { | |||
968 | offsetof(struct sym_lcb, head.itlq_tbl_sa), | 968 | offsetof(struct sym_lcb, head.itlq_tbl_sa), |
969 | /* | 969 | /* |
970 | * The SIDL still contains the TAG value. | 970 | * The SIDL still contains the TAG value. |
971 | * Agressive optimization, isn't it? :):) | 971 | * Aggressive optimization, isn't it? :):) |
972 | */ | 972 | */ |
973 | SCR_REG_SFBR (sidl, SCR_SHL, 0), | 973 | SCR_REG_SFBR (sidl, SCR_SHL, 0), |
974 | 0, | 974 | 0, |
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index dc2724fa7622..7916b50f9a13 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
@@ -222,7 +222,7 @@ static int ext4_ext_space_block(struct inode *inode) | |||
222 | 222 | ||
223 | size = (inode->i_sb->s_blocksize - sizeof(struct ext4_extent_header)) | 223 | size = (inode->i_sb->s_blocksize - sizeof(struct ext4_extent_header)) |
224 | / sizeof(struct ext4_extent); | 224 | / sizeof(struct ext4_extent); |
225 | #ifdef AGRESSIVE_TEST | 225 | #ifdef AGGRESSIVE_TEST |
226 | if (size > 6) | 226 | if (size > 6) |
227 | size = 6; | 227 | size = 6; |
228 | #endif | 228 | #endif |
@@ -235,7 +235,7 @@ static int ext4_ext_space_block_idx(struct inode *inode) | |||
235 | 235 | ||
236 | size = (inode->i_sb->s_blocksize - sizeof(struct ext4_extent_header)) | 236 | size = (inode->i_sb->s_blocksize - sizeof(struct ext4_extent_header)) |
237 | / sizeof(struct ext4_extent_idx); | 237 | / sizeof(struct ext4_extent_idx); |
238 | #ifdef AGRESSIVE_TEST | 238 | #ifdef AGGRESSIVE_TEST |
239 | if (size > 5) | 239 | if (size > 5) |
240 | size = 5; | 240 | size = 5; |
241 | #endif | 241 | #endif |
@@ -249,7 +249,7 @@ static int ext4_ext_space_root(struct inode *inode) | |||
249 | size = sizeof(EXT4_I(inode)->i_data); | 249 | size = sizeof(EXT4_I(inode)->i_data); |
250 | size -= sizeof(struct ext4_extent_header); | 250 | size -= sizeof(struct ext4_extent_header); |
251 | size /= sizeof(struct ext4_extent); | 251 | size /= sizeof(struct ext4_extent); |
252 | #ifdef AGRESSIVE_TEST | 252 | #ifdef AGGRESSIVE_TEST |
253 | if (size > 3) | 253 | if (size > 3) |
254 | size = 3; | 254 | size = 3; |
255 | #endif | 255 | #endif |
@@ -263,7 +263,7 @@ static int ext4_ext_space_root_idx(struct inode *inode) | |||
263 | size = sizeof(EXT4_I(inode)->i_data); | 263 | size = sizeof(EXT4_I(inode)->i_data); |
264 | size -= sizeof(struct ext4_extent_header); | 264 | size -= sizeof(struct ext4_extent_header); |
265 | size /= sizeof(struct ext4_extent_idx); | 265 | size /= sizeof(struct ext4_extent_idx); |
266 | #ifdef AGRESSIVE_TEST | 266 | #ifdef AGGRESSIVE_TEST |
267 | if (size > 4) | 267 | if (size > 4) |
268 | size = 4; | 268 | size = 4; |
269 | #endif | 269 | #endif |
@@ -1118,7 +1118,7 @@ ext4_can_extents_be_merged(struct inode *inode, struct ext4_extent *ex1, | |||
1118 | */ | 1118 | */ |
1119 | if (le16_to_cpu(ex1->ee_len) + le16_to_cpu(ex2->ee_len) > EXT_MAX_LEN) | 1119 | if (le16_to_cpu(ex1->ee_len) + le16_to_cpu(ex2->ee_len) > EXT_MAX_LEN) |
1120 | return 0; | 1120 | return 0; |
1121 | #ifdef AGRESSIVE_TEST | 1121 | #ifdef AGGRESSIVE_TEST |
1122 | if (le16_to_cpu(ex1->ee_len) >= 4) | 1122 | if (le16_to_cpu(ex1->ee_len) >= 4) |
1123 | return 0; | 1123 | return 0; |
1124 | #endif | 1124 | #endif |
@@ -1891,8 +1891,8 @@ void ext4_ext_init(struct super_block *sb) | |||
1891 | 1891 | ||
1892 | if (test_opt(sb, EXTENTS)) { | 1892 | if (test_opt(sb, EXTENTS)) { |
1893 | printk("EXT4-fs: file extents enabled"); | 1893 | printk("EXT4-fs: file extents enabled"); |
1894 | #ifdef AGRESSIVE_TEST | 1894 | #ifdef AGGRESSIVE_TEST |
1895 | printk(", agressive tests"); | 1895 | printk(", aggressive tests"); |
1896 | #endif | 1896 | #endif |
1897 | #ifdef CHECK_BINSEARCH | 1897 | #ifdef CHECK_BINSEARCH |
1898 | printk(", check binsearch"); | 1898 | printk(", check binsearch"); |
diff --git a/include/linux/ext4_fs_extents.h b/include/linux/ext4_fs_extents.h index a41cc24568ca..7eb1d73fc5d1 100644 --- a/include/linux/ext4_fs_extents.h +++ b/include/linux/ext4_fs_extents.h | |||
@@ -22,12 +22,12 @@ | |||
22 | #include <linux/ext4_fs.h> | 22 | #include <linux/ext4_fs.h> |
23 | 23 | ||
24 | /* | 24 | /* |
25 | * With AGRESSIVE_TEST defined, the capacity of index/leaf blocks | 25 | * With AGGRESSIVE_TEST defined, the capacity of index/leaf blocks |
26 | * becomes very small, so index split, in-depth growing and | 26 | * becomes very small, so index split, in-depth growing and |
27 | * other hard changes happen much more often. | 27 | * other hard changes happen much more often. |
28 | * This is for debug purposes only. | 28 | * This is for debug purposes only. |
29 | */ | 29 | */ |
30 | #define AGRESSIVE_TEST_ | 30 | #define AGGRESSIVE_TEST_ |
31 | 31 | ||
32 | /* | 32 | /* |
33 | * With EXTENTS_STATS defined, the number of blocks and extents | 33 | * With EXTENTS_STATS defined, the number of blocks and extents |