diff options
author | Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> | 2009-12-14 21:00:26 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 11:53:27 -0500 |
commit | e4c570c4cb7a95dbfafa3d016d2739bf3fdfe319 (patch) | |
tree | ce2be0a79fa2e8d8271426f0fc27b25e83c050b4 /include/linux/sched.h | |
parent | 8420e7efa1cf155765c6d77c91d3e3547c7aa557 (diff) |
task_struct: make journal_info conditional
journal_info in task_struct is used in journaling file system only. So
introduce CONFIG_FS_JOURNAL_INFO and make it conditional.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Cc: KONISHI Ryusuke <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 294eb2f80144..7d388494f45d 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1446,8 +1446,10 @@ struct task_struct { | |||
1446 | gfp_t lockdep_reclaim_gfp; | 1446 | gfp_t lockdep_reclaim_gfp; |
1447 | #endif | 1447 | #endif |
1448 | 1448 | ||
1449 | #ifdef CONFIG_FS_JOURNAL_INFO | ||
1449 | /* journalling filesystem info */ | 1450 | /* journalling filesystem info */ |
1450 | void *journal_info; | 1451 | void *journal_info; |
1452 | #endif | ||
1451 | 1453 | ||
1452 | /* stacked block device info */ | 1454 | /* stacked block device info */ |
1453 | struct bio *bio_list, **bio_tail; | 1455 | struct bio *bio_list, **bio_tail; |