aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2023-09-29 19:18:44 +0000
committerDavid Sterba <[email protected]>2023-10-12 14:44:19 +0000
commitc6e8f898f56fae2cb5bc4396bec480f23cd8b066 (patch)
treea4123e4b24487e4358bedb4cd63746d52bfcae9e /fs/btrfs/dev-replace.c
parentbtrfs: remove redundant log root tree index assignment during log sync (diff)
downloadkernel-c6e8f898f56fae2cb5bc4396bec480f23cd8b066.tar.gz
kernel-c6e8f898f56fae2cb5bc4396bec480f23cd8b066.zip
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: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions