mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-10 00:00:24 +03:00
Update bcachefs sources to 6ba867b0c788 bcachefs: Drop __counted_by from struct bch_ioctl_fsck_offline
This commit is contained in:
parent
9f8195b54c
commit
95fbd77ad0
@ -1 +1 @@
|
|||||||
ce8f0c316862869e9e2c57270b8d5f15f26be5ca
|
6ba867b0c788d0f32e8dc142172d60ead6273f1b
|
||||||
|
|||||||
@ -447,7 +447,12 @@ struct bch_ioctl_fsck_offline {
|
|||||||
__u64 flags;
|
__u64 flags;
|
||||||
__u64 opts; /* string */
|
__u64 opts; /* string */
|
||||||
__u64 nr_devs;
|
__u64 nr_devs;
|
||||||
__u64 devs[] __counted_by(nr_devs);
|
/*
|
||||||
|
* Do not re-add __counted_by() here: there's a compiler bug that causes
|
||||||
|
* a bounds check to happen, even when it's a userspace pointer
|
||||||
|
* (properly marked as __user)
|
||||||
|
*/
|
||||||
|
__u64 devs[];
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user