aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2022-09-28 12:45:35 +0200
committerAndrew Morton <[email protected]>2022-11-08 17:37:13 -0800
commita5454f95246aa1d3527ef5e128cd3a10bc8371de (patch)
tree03de0b8ec4b84edd654850242d7835ade4e88b50 /lib
parent7848ed6284ec4791eba22026e28edb2062790a3d (diff)
tmpfs: ensure O_LARGEFILE with generic_file_open()
Without this check open() will open large files on tmpfs although O_LARGEFILE was not specified. This is inconsistent with other filesystems. Also it will later result in EOVERFLOW on stat() or EFBIG on write(). Link: https://lore.kernel.org/lkml/[email protected]/ Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Weißschuh <[email protected]> Acked-by: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions