Commit 28ad0c11 authored by Theodore Ts'o's avatar Theodore Ts'o Committed by Al Viro

fs: Rearrange inode structure elements to avoid waste due to padding

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 9fd5746f
...@@ -729,8 +729,8 @@ struct inode { ...@@ -729,8 +729,8 @@ struct inode {
struct timespec i_atime; struct timespec i_atime;
struct timespec i_mtime; struct timespec i_mtime;
struct timespec i_ctime; struct timespec i_ctime;
unsigned int i_blkbits;
blkcnt_t i_blocks; blkcnt_t i_blocks;
unsigned int i_blkbits;
unsigned short i_bytes; unsigned short i_bytes;
umode_t i_mode; umode_t i_mode;
spinlock_t i_lock; /* i_blocks, i_bytes, maybe i_size */ spinlock_t i_lock; /* i_blocks, i_bytes, maybe i_size */
......
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