diff options
author | Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> | 2009-12-14 18:00:26 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 08:53:27 -0800 |
commit | e4c570c4cb7a95dbfafa3d016d2739bf3fdfe319 (patch) | |
tree | ce2be0a79fa2e8d8271426f0fc27b25e83c050b4 /include/linux/sched.h | |
parent | 8420e7efa1cf155765c6d77c91d3e3547c7aa557 (diff) | |
download | lwn-e4c570c4cb7a95dbfafa3d016d2739bf3fdfe319.tar.gz lwn-e4c570c4cb7a95dbfafa3d016d2739bf3fdfe319.zip |
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 { gfp_t lockdep_reclaim_gfp; #endif +#ifdef CONFIG_FS_JOURNAL_INFO /* journalling filesystem info */ void *journal_info; +#endif /* stacked block device info */ struct bio *bio_list, **bio_tail; |