Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christoph Hellwig and committed by
Linus Torvalds
27560b37 05dbaf8d

+2 -2
+2 -2
include/linux/stat.h
··· 50 50 struct timespec64 btime; /* File creation time */ 51 51 u64 blocks; 52 52 u64 mnt_id; 53 + u64 change_cookie; 54 + u64 subvol; 53 55 u32 dio_mem_align; 54 56 u32 dio_offset_align; 55 57 u32 dio_read_offset_align; 56 - u64 change_cookie; 57 - u64 subvol; 58 58 u32 atomic_write_unit_min; 59 59 u32 atomic_write_unit_max; 60 60 u32 atomic_write_segments_max;