diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-25 06:51:46 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-10-03 06:02:16 +0200 |
commit | 5d47b394794d3086c1c338cc014011a9ee34005c (patch) | |
tree | ed8423843a64dd35b997b8c65d06850cdaf4dc43 /security/keys/keyctl.c | |
parent | mm: remove compat_process_vm_{readv,writev} (diff) | |
download | linux-5d47b394794d3086c1c338cc014011a9ee34005c.tar.xz linux-5d47b394794d3086c1c338cc014011a9ee34005c.zip |
security/keys: remove compat_keyctl_instantiate_key_iov
Now that import_iovec handles compat iovecs, the native version of
keyctl_instantiate_key_iov can be used for the compat case as well.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/keys/keyctl.c')
-rw-r--r-- | security/keys/keyctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/keyctl.c b/security/keys/keyctl.c index 9febd37a168f..e26bbccda7cc 100644 --- a/security/keys/keyctl.c +++ b/security/keys/keyctl.c @@ -1164,7 +1164,7 @@ static int keyctl_change_reqkey_auth(struct key *key) * * If successful, 0 will be returned. */ -long keyctl_instantiate_key_common(key_serial_t id, +static long keyctl_instantiate_key_common(key_serial_t id, struct iov_iter *from, key_serial_t ringid) { |