]> www.infradead.org Git - users/willy/xarray.git/commit
nsfs: fix ioctl declaration
authorChristian Brauner <brauner@kernel.org>
Wed, 31 Jul 2024 05:47:27 +0000 (07:47 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 12 Aug 2024 20:03:26 +0000 (22:03 +0200)
commit42b0f8da3acc87953161baeb24f756936eb4d4b2
tree0186c858ae00c26f0ee70c14a75ae438e1f1b451
parentf71aa06398aabc2e3eaac25acdf3d62e0094ba70
nsfs: fix ioctl declaration

The kernel is writing an object of type __u64, so the ioctl has to be
defined to _IOR(NSIO, 0x5, __u64) instead of _IO(NSIO, 0x5).

Reported-by: Dmitry V. Levin <ldv@strace.io>
Link: https://lore.kernel.org/r/20240730164554.GA18486@altlinux.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
include/uapi/linux/nsfs.h