Update bcachefs sources to 6ba867b0c788 bcachefs: Drop __counted_by from struct bch_ioctl_fsck_offline

This commit is contained in:
Kent Overstreet 2025-11-30 14:16:57 -05:00
parent 9f8195b54c
commit 95fbd77ad0
2 changed files with 7 additions and 2 deletions

View File

@ -1 +1 @@
ce8f0c316862869e9e2c57270b8d5f15f26be5ca
6ba867b0c788d0f32e8dc142172d60ead6273f1b

View File

@ -447,7 +447,12 @@ struct bch_ioctl_fsck_offline {
__u64 flags;
__u64 opts; /* string */
__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[];
};
/*