summaryrefslogtreecommitdiff
path: root/libbcachefs/subvolume_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/subvolume_types.h')
-rw-r--r--libbcachefs/subvolume_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbcachefs/subvolume_types.h b/libbcachefs/subvolume_types.h
index 9b10c894..f2ec4277 100644
--- a/libbcachefs/subvolume_types.h
+++ b/libbcachefs/subvolume_types.h
@@ -30,7 +30,8 @@ struct snapshot_table {
};
typedef struct {
- u32 subvol;
+ /* we can't have padding in this struct: */
+ u64 subvol;
u64 inum;
} subvol_inum;