From: Theodore Ts'o Date: Mon, 10 Jan 2011 17:29:43 +0000 (-0500) Subject: ext4: dynamically allocate the jbd2_inode in ext4_inode_info as necessary X-Git-Tag: v2.6.38-rc1~409^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8aefcd557d26d0023a36f9ec5afbf55e59f8f26b;p=pandora-kernel.git ext4: dynamically allocate the jbd2_inode in ext4_inode_info as necessary Replace the jbd2_inode structure (which is 48 bytes) with a pointer and only allocate the jbd2_inode when it is needed --- that is, when the file system has a journal present and the inode has been opened for writing. This allows us to further slim down the ext4_inode_info structure. Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed