diff options
| author | Theodore Ts'o <[email protected]> | 2011-01-10 12:29:43 -0500 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2011-01-10 12:29:43 -0500 |
| commit | 8aefcd557d26d0023a36f9ec5afbf55e59f8f26b (patch) | |
| tree | e13143306cd64525cddd2cc2513c448275a1d95a /scripts/patch-kernel | |
| parent | 353eb83c1422c6326eaab30ce044a179c6018169 (diff) | |
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" <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions