android_kernel_xiaomi_sm8450/fs/overlayfs
Miklos Szeredi acddd7c6b7 ovl: do not fail because of O_NOATIME
commit b6650dab404c701d7fe08a108b746542a934da84 upstream.

In case the file cannot be opened with O_NOATIME because of lack of
capabilities, then clear O_NOATIME instead of failing.

Remove WARN_ON(), since it would now trigger if O_NOATIME was cleared.
Noticed by Amir Goldstein.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Hugo SIMELIERE <hsimeliere.opensource@witekio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-04 13:17:45 +02:00
..
copy_up.c overlayfs: set ctime when setting mtime and atime 2023-10-25 11:54:23 +02:00
dir.c ovl: update of dentry revalidate flags after copy up 2023-07-27 08:43:55 +02:00
export.c ovl: update of dentry revalidate flags after copy up 2023-07-27 08:43:55 +02:00
file.c ovl: do not fail because of O_NOATIME 2024-09-04 13:17:45 +02:00
inode.c ovl: perform vfs_getxattr() with mounter creds 2021-02-17 11:02:22 +01:00
Kconfig docs: fix broken references to text files 2020-04-20 15:35:59 -06:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
namei.c ovl: update of dentry revalidate flags after copy up 2023-07-27 08:43:55 +02:00
overlayfs.h namei: introduce struct renamedata 2024-06-21 14:52:59 +02:00
ovl_entry.h ovl: check type and offset of struct vfsmount in ovl_entry 2023-08-26 15:26:44 +02:00
readdir.c ovl: invalidate readdir cache on changes to dir with origin 2021-05-14 09:50:35 +02:00
super.c ima: detect changes to the backing overlay file 2023-11-28 16:54:57 +00:00
util.c ovl: update of dentry revalidate flags after copy up 2023-07-27 08:43:55 +02:00