Message ID | 20240820-work-i_state-v1-5-794360714829@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | inode: turn i_state into u32 | expand |
diff --git a/include/linux/fs.h b/include/linux/fs.h index f854f83e91af..54cfb75b6a28 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -681,7 +681,7 @@ struct inode { #endif /* Misc */ - unsigned long i_state; + u32 i_state; struct rw_semaphore i_rwsem; unsigned long dirtied_when; /* jiffies of first dirtying */
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. Signed-off-by: Christian Brauner <brauner@kernel.org> --- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)