]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
fs: pack struct kstat better
authorChristoph Hellwig <hch@lst.de>
Wed, 29 Jan 2025 06:37:57 +0000 (07:37 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 29 Jan 2025 17:04:28 +0000 (09:04 -0800)
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>
include/linux/stat.h

index 9d8382e23a9c69ffaabcde1f0697a4683205fc3e..be7496a6a0dd9c5a9a8047ebf07b5000d5b017c5 100644 (file)
@@ -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;