Skip to content

Commit 27560b3

Browse files
Christoph Hellwigtorvalds
authored andcommitted
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>
1 parent 05dbaf8 commit 27560b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/stat.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ struct kstat {
5050
struct timespec64 btime; /* File creation time */
5151
u64 blocks;
5252
u64 mnt_id;
53+
u64 change_cookie;
54+
u64 subvol;
5355
u32 dio_mem_align;
5456
u32 dio_offset_align;
5557
u32 dio_read_offset_align;
56-
u64 change_cookie;
57-
u64 subvol;
5858
u32 atomic_write_unit_min;
5959
u32 atomic_write_unit_max;
6060
u32 atomic_write_segments_max;

0 commit comments

Comments
 (0)