diff options
author | Jose R. Santos <jrs@us.ibm.com> | 2007-07-18 08:57:06 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2007-07-18 08:57:06 -0400 |
commit | e23291b9120c11aafb2ee76fb71a062eb3c1056c (patch) | |
tree | 1a0f458c5c2803eb9a959e79622974cd5db4f985 /include | |
parent | eb40a09c679d7f9709f7087add57f2e1c7122bb3 (diff) |
jbd2: Fix CONFIG_JBD_DEBUG ifdef to be CONFIG_JBD2_DEBUG
When the JBD code was forked to create the new JBD2 code base, the
references to CONFIG_JBD_DEBUG where never changed to
CONFIG_JBD2_DEBUG. This patch fixes that.
Signed-off-by: Jose R. Santos <jrs@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ext4_fs.h | 4 | ||||
-rw-r--r-- | include/linux/ext4_fs_sb.h | 2 | ||||
-rw-r--r-- | include/linux/jbd2.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/ext4_fs.h b/include/linux/ext4_fs.h index 33b2b1a2d790..45ec7258b2b1 100644 --- a/include/linux/ext4_fs.h +++ b/include/linux/ext4_fs.h | |||
@@ -243,7 +243,7 @@ struct ext4_new_group_data { | |||
243 | #define EXT4_IOC_GROUP_ADD _IOW('f', 8,struct ext4_new_group_input) | 243 | #define EXT4_IOC_GROUP_ADD _IOW('f', 8,struct ext4_new_group_input) |
244 | #define EXT4_IOC_GETVERSION_OLD FS_IOC_GETVERSION | 244 | #define EXT4_IOC_GETVERSION_OLD FS_IOC_GETVERSION |
245 | #define EXT4_IOC_SETVERSION_OLD FS_IOC_SETVERSION | 245 | #define EXT4_IOC_SETVERSION_OLD FS_IOC_SETVERSION |
246 | #ifdef CONFIG_JBD_DEBUG | 246 | #ifdef CONFIG_JBD2_DEBUG |
247 | #define EXT4_IOC_WAIT_FOR_READONLY _IOR('f', 99, long) | 247 | #define EXT4_IOC_WAIT_FOR_READONLY _IOR('f', 99, long) |
248 | #endif | 248 | #endif |
249 | #define EXT4_IOC_GETRSVSZ _IOR('f', 5, long) | 249 | #define EXT4_IOC_GETRSVSZ _IOR('f', 5, long) |
@@ -259,7 +259,7 @@ struct ext4_new_group_data { | |||
259 | #define EXT4_IOC32_GETRSVSZ _IOR('f', 5, int) | 259 | #define EXT4_IOC32_GETRSVSZ _IOR('f', 5, int) |
260 | #define EXT4_IOC32_SETRSVSZ _IOW('f', 6, int) | 260 | #define EXT4_IOC32_SETRSVSZ _IOW('f', 6, int) |
261 | #define EXT4_IOC32_GROUP_EXTEND _IOW('f', 7, unsigned int) | 261 | #define EXT4_IOC32_GROUP_EXTEND _IOW('f', 7, unsigned int) |
262 | #ifdef CONFIG_JBD_DEBUG | 262 | #ifdef CONFIG_JBD2_DEBUG |
263 | #define EXT4_IOC32_WAIT_FOR_READONLY _IOR('f', 99, int) | 263 | #define EXT4_IOC32_WAIT_FOR_READONLY _IOR('f', 99, int) |
264 | #endif | 264 | #endif |
265 | #define EXT4_IOC32_GETVERSION_OLD FS_IOC32_GETVERSION | 265 | #define EXT4_IOC32_GETVERSION_OLD FS_IOC32_GETVERSION |
diff --git a/include/linux/ext4_fs_sb.h b/include/linux/ext4_fs_sb.h index 2347557a327a..0f7dc15924bf 100644 --- a/include/linux/ext4_fs_sb.h +++ b/include/linux/ext4_fs_sb.h | |||
@@ -73,7 +73,7 @@ struct ext4_sb_info { | |||
73 | struct list_head s_orphan; | 73 | struct list_head s_orphan; |
74 | unsigned long s_commit_interval; | 74 | unsigned long s_commit_interval; |
75 | struct block_device *journal_bdev; | 75 | struct block_device *journal_bdev; |
76 | #ifdef CONFIG_JBD_DEBUG | 76 | #ifdef CONFIG_JBD2_DEBUG |
77 | struct timer_list turn_ro_timer; /* For turning read-only (crash simulation) */ | 77 | struct timer_list turn_ro_timer; /* For turning read-only (crash simulation) */ |
78 | wait_queue_head_t ro_wait_queue; /* For people waiting for the fs to go read-only */ | 78 | wait_queue_head_t ro_wait_queue; /* For people waiting for the fs to go read-only */ |
79 | #endif | 79 | #endif |
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index 0e0fedd2039a..a37aca31de46 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h | |||
@@ -50,11 +50,11 @@ | |||
50 | */ | 50 | */ |
51 | #define JBD_DEFAULT_MAX_COMMIT_AGE 5 | 51 | #define JBD_DEFAULT_MAX_COMMIT_AGE 5 |
52 | 52 | ||
53 | #ifdef CONFIG_JBD_DEBUG | 53 | #ifdef CONFIG_JBD2_DEBUG |
54 | /* | 54 | /* |
55 | * Define JBD_EXPENSIVE_CHECKING to enable more expensive internal | 55 | * Define JBD_EXPENSIVE_CHECKING to enable more expensive internal |
56 | * consistency checks. By default we don't do this unless | 56 | * consistency checks. By default we don't do this unless |
57 | * CONFIG_JBD_DEBUG is on. | 57 | * CONFIG_JBD2_DEBUG is on. |
58 | */ | 58 | */ |
59 | #define JBD_EXPENSIVE_CHECKING | 59 | #define JBD_EXPENSIVE_CHECKING |
60 | extern int jbd2_journal_enable_debug; | 60 | extern int jbd2_journal_enable_debug; |