diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-23 09:30:15 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-06-03 23:16:55 -0400 |
commit | c7d216e8c44cfc0b680d8c0de4f9bdafd92f7ef6 (patch) | |
tree | 144f957706d8bc5a569f7b5346c9f24f44feee47 /fs/ext4/ioctl.c | |
parent | 45dd052e67ad17c7a24874a783f41aeab15bc294 (diff) | |
download | linux-c7d216e8c44cfc0b680d8c0de4f9bdafd92f7ef6.tar.bz2 |
fs: remove the access_ok() check in ioctl_fiemap
access_ok just checks we are fed a proper user pointer. We also do that
in copy_to_user itself, so no need to do this early.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Link: https://lore.kernel.org/r/20200523073016.2944131-9-hch@lst.de
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ioctl.c')
0 files changed, 0 insertions, 0 deletions