mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user