Skip to content
Commit 5fb889f5 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

compat_ioctl: block: simplify compat_blkpg_ioctl()



There is no need to go through a compat_alloc_user_space()
copy any more, just wrap the function in a small helper that
works the same way for native and compat mode.

Reviewed-by: default avatarBen Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent bdc1ddad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment