aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorCarlos Llamas <[email protected]>2022-03-29 20:18:15 +0000
committerJens Axboe <[email protected]>2022-03-30 14:54:32 +0000
commitf941c51eeac7ebe0f8ec30943bf78e7f60aad039 (patch)
treed39cb8cab63c284cb6db354b1d9606a243a6a411 /net/unix/af_unix.c
parentMerge tag 'nvme-5.18-2022-03-29' of git://git.infradead.org/nvme into for-5.1... (diff)
downloadkernel-f941c51eeac7ebe0f8ec30943bf78e7f60aad039.tar.gz
kernel-f941c51eeac7ebe0f8ec30943bf78e7f60aad039.zip
loop: fix ioctl calls using compat_loop_info
Support for cryptoloop was deleted in commit 47e9624616c8 ("block: remove support for cryptoloop and the xor transfer"), making the usage of loop_info->lo_encrypt_type obsolete. However, this member was also removed from the compat_loop_info definition and this breaks userspace ioctl calls for 32-bit binaries and CONFIG_COMPAT=y. This patch restores the compat_loop_info->lo_encrypt_type member and marks it obsolete as well as in the uapi header definitions. Fixes: 47e9624616c8 ("block: remove support for cryptoloop and the xor transfer") Signed-off-by: Carlos Llamas <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions