Commit 2b111edb authored by Christian Brauner's avatar Christian Brauner

inode: make i_state a u32

Now that we use the wait var event mechanism make i_state a u32 and free
up 4 bytes. This means we currently have two 4 byte holes in struct
inode which we can pack.

Link: https://lore.kernel.org/r/20240823-work-i_state-v3-6-5cd5fd207a57@kernel.orgReviewed-by: default avatarJosef Bacik <josef@toxicpanda.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent f469e6e6
...@@ -681,7 +681,8 @@ struct inode { ...@@ -681,7 +681,8 @@ struct inode {
#endif #endif
/* Misc */ /* Misc */
unsigned long i_state; u32 i_state;
/* 32-bit hole */
struct rw_semaphore i_rwsem; struct rw_semaphore i_rwsem;
unsigned long dirtied_when; /* jiffies of first dirtying */ unsigned long dirtied_when; /* jiffies of first dirtying */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment