Skip to content
Commit c6e8f898 authored by David Sterba's avatar David Sterba
Browse files

btrfs: open code timespec64 in struct btrfs_inode



The type of timespec64::tv_nsec is 'unsigned long', while we have only
u32 for on-disk and in-memory. This wastes a few bytes in btrfs_inode.
Add separate members for sec and nsec with the corresponding type width.
This creates a 4 byte hole in btrfs_inode which can be utilized in the
future.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent cc687c2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment