diff options
author | 2025-01-29 07:37:57 +0100 | |
---|---|---|
committer | 2025-01-29 09:04:28 -0800 | |
commit | 27560b371ab82c1894d048aef0d113acb093f67f (patch) | |
tree | 4512e6cae96c986125439f402190a1eca35a7732 | |
parent | Merge tag 'x86-urgent-2025-01-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (diff) | |
download | wireguard-linux-27560b371ab82c1894d048aef0d113acb093f67f.tar.xz wireguard-linux-27560b371ab82c1894d048aef0d113acb093f67f.zip |
fs: pack struct kstat better
Move the change_cookie and subvol up to avoid two 4 byte holes.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/stat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/stat.h b/include/linux/stat.h index 9d8382e23a9c..be7496a6a0dd 100644 --- a/include/linux/stat.h +++ b/include/linux/stat.h @@ -50,11 +50,11 @@ struct kstat { struct timespec64 btime; /* File creation time */ u64 blocks; u64 mnt_id; + u64 change_cookie; + u64 subvol; u32 dio_mem_align; u32 dio_offset_align; u32 dio_read_offset_align; - u64 change_cookie; - u64 subvol; u32 atomic_write_unit_min; u32 atomic_write_unit_max; u32 atomic_write_segments_max; |