diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-07-22 16:29:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-23 14:20:25 +0100 |
commit | 709566d79209af9255c7c201d9ffdd9039fa35ab (patch) | |
tree | c65f080d1bae96c781a726ed1734562eab8cda00 /fs/xfs/libxfs/xfs_inode_buf.c | |
parent | dd98d2895de6485c884a9cb42de69fed02826fa4 (diff) | |
download | linux-709566d79209af9255c7c201d9ffdd9039fa35ab.tar.gz linux-709566d79209af9255c7c201d9ffdd9039fa35ab.tar.bz2 linux-709566d79209af9255c7c201d9ffdd9039fa35ab.zip |
net: socket: rework SIOC?IFMAP ioctls
SIOCGIFMAP and SIOCSIFMAP currently require compat_alloc_user_space()
and copy_in_user() for compat mode.
Move the compat handling into the location where the structures are
actually used, to avoid using those interfaces and get a clearer
implementation.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_buf.c')
0 files changed, 0 insertions, 0 deletions