summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-11-24 03:26:27 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-01 19:47:38 +0300
commite6674decb2195999ae9fe074bf048ba91e336144 (patch)
treed348698f40080701cfa63b5c98a8d6a4e0095709 /include/linux
parent3b05b8e08292eafec277e8780d79b2a2d8584af2 (diff)
downloadlinux-e6674decb2195999ae9fe074bf048ba91e336144.tar.xz
bcachefs: BCH_IOCTL_DEV_USAGE_V2
BCH_IOCTL_DEV_USAGE mistakenly put the per-data-type array in struct bch_ioctl_dev_usage; since ioctl numbers encode the size of the arg, that means adding new data types breaks the ioctl. This adds a new version that includes the number of data types as a parameter: the old version is fixed at 10 so as to not break when adding new types. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions