commit | 5fb889f587fa2ae486e067d8a00df955ae6492b3 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Thu Nov 28 11:28:41 2019 +0100 |
committer | Arnd Bergmann <arnd@arndb.de> | Fri Jan 03 09:42:52 2020 +0100 |
tree | a4a0b6b07eddc75bea66f97bfec4c45e7211939e | |
parent | bdc1ddad3e5f385698df150a0cfaaac62b491e7e [diff] |
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: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Arnd Bergmann <arnd@arndb.de>