We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7d216e commit ba98890Copy full SHA for ba98890
fs/ext4/ioctl.c
@@ -754,11 +754,6 @@ static int ext4_ioctl_get_es_cache(struct file *filp, unsigned long arg)
754
fieinfo.fi_extents_max = fiemap.fm_extent_count;
755
fieinfo.fi_extents_start = ufiemap->fm_extents;
756
757
- if (fiemap.fm_extent_count != 0 &&
758
- !access_ok(fieinfo.fi_extents_start,
759
- fieinfo.fi_extents_max * sizeof(struct fiemap_extent)))
760
- return -EFAULT;
761
-
762
error = ext4_get_es_cache(inode, &fieinfo, fiemap.fm_start,
763
fiemap.fm_length);
764
fiemap.fm_flags = fieinfo.fi_flags;
0 commit comments