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

Skip to content
Commit 8aefcd55 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 353eb83c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment