diff options
author | Andrey Albershteyn <aalbersh@redhat.com> | 2025-06-30 18:20:14 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-07-02 14:29:10 +0200 |
commit | 474b155adf3927d2c944423045757b54aa1ca4de (patch) | |
tree | 0ac9f555a4a34a36d2ee556b3f1514f0cf91052d /lib/crypto/mpi/mpiutil.c | |
parent | bd14e462bb52f5bbfc56f10f758f617c05dbd63c (diff) |
fs: make vfs_fileattr_[get|set] return -EOPNOTSUPP
Future patches will add new syscalls which use these functions. As
this interface won't be used for ioctls only, the EOPNOSUPP is more
appropriate return code.
This patch converts return code from ENOIOCTLCMD to EOPNOSUPP for
vfs_fileattr_get and vfs_fileattr_set. To save old behavior translate
EOPNOSUPP back for current users - overlayfs, encryptfs and fs/ioctl.c.
Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
Link: https://lore.kernel.org/20250630-xattrat-syscall-v6-4-c4e3bc35227b@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions