Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4c570c4 authored by Hiroshi Shimamoto's avatar Hiroshi Shimamoto Committed by Linus Torvalds
Browse files

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: default avatarHiroshi 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8420e7ef
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -6,6 +6,10 @@ menu "File systems"

if BLOCK

config FS_JOURNAL_INFO
	bool
	default n

source "fs/ext2/Kconfig"
source "fs/ext3/Kconfig"
source "fs/ext4/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ config BTRFS_FS
	select LIBCRC32C
	select ZLIB_INFLATE
	select ZLIB_DEFLATE
	select FS_JOURNAL_INFO
	help
	  Btrfs is a new filesystem with extents, writable snapshotting,
	  support for multiple devices and many more features.
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ config EXT4_FS
	tristate "The Extended 4 (ext4) filesystem"
	select JBD2
	select CRC16
	select FS_JOURNAL_INFO
	help
	  This is the next generation of the ext3 filesystem.

+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ config GFS2_FS
	select SLOW_WORK
	select QUOTA
	select QUOTACTL
	select FS_JOURNAL_INFO
	help
	  A cluster filesystem.

+1 −0
Original line number Diff line number Diff line
config JBD
	tristate
	select FS_JOURNAL_INFO
	help
	  This is a generic journalling layer for block devices.  It is
	  currently used by the ext3 file system, but it could also be
Loading