summaryrefslogtreecommitdiff
path: root/include/linux/v4l2-common.h
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2024-06-17 21:43:45 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-06-25 09:49:23 +0300
commitbab056eb8621d499d0a2be688ef1a06797a7da1b (patch)
tree7db6e9b497f0d4b6bd8c09f984070957d653cd00 /include/linux/v4l2-common.h
parent2119bdac6a011034cc33584e3303e47db4932313 (diff)
v4l2: v4l2_compat: Fix redirect from `__open(at)64_2()`
To avoid confusion, have `__open64_2()` and `__openat64_2()` delegate to `open64()` and `openat64()`, respectively, instead of `open()` and `openat()`. This does not change the behaviour because `V4L2CompatManager::instance()->openat()` calls `openat64()` internally, and that adds the `O_LARGEFILE` flag unconditionally. Fixes: 1023107b6405 ("v4l2: v4l2_compat: Intercept open64, openat64, and mmap64") Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/linux/v4l2-common.h')
0 files changed, 0 insertions, 0 deletions