mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 19:47:08 +02:00
Merge a12cf8b32c ("fs/ioctl: remove unnecessary __user annotation") into android-mainline
Steps on the way to 5.17-rc1 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I92bb3dd9124e2d854d8d265cc464a101b2918aca
This commit is contained in:
commit
fb91a0998a
|
|
@ -430,7 +430,7 @@ static int ioctl_file_dedupe_range(struct file *file,
|
|||
goto out;
|
||||
}
|
||||
|
||||
size = offsetof(struct file_dedupe_range __user, info[count]);
|
||||
size = offsetof(struct file_dedupe_range, info[count]);
|
||||
if (size > PAGE_SIZE) {
|
||||
ret = -ENOMEM;
|
||||
goto out;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user