diff options
author | Christian Brauner <[email protected]> | 2024-08-23 14:47:40 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-08-30 08:22:40 +0200 |
commit | 2b111edbe0a9c441605be5cfb73001dc98ec686f (patch) | |
tree | 97146b25c5e92523ca723bf81de3dd5a8a2d91df | |
parent | f469e6e6f51ba6d973d30bea1d66e17da73fc1bb (diff) |
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/[email protected]
Reviewed-by: Josef Bacik <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
-rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index a868c9823c10..a1ef8c65d828 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -681,7 +681,8 @@ struct inode { #endif /* Misc */ - unsigned long i_state; + u32 i_state; + /* 32-bit hole */ struct rw_semaphore i_rwsem; unsigned long dirtied_when; /* jiffies of first dirtying */ |