commit | ba988903937c1b1ce5d54567b50f2ad9604b3bfe | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat May 23 09:30:16 2020 +0200 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Jun 03 23:16:55 2020 -0400 |
tree | fbd513ee562021b45b3c1890734d552e2d25ca1d | |
parent | c7d216e8c44cfc0b680d8c0de4f9bdafd92f7ef6 [diff] |
ext4: remove the access_ok() check in ext4_ioctl_get_es_cache 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: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20200523073016.2944131-10-hch@lst.de Signed-off-by: Theodore Ts'o <tytso@mit.edu>