android_kernel_xiaomi_sm8450/fs/overlayfs
Alessio Balsini c0a8393584 FROMLIST: fs: Generic function to convert iocb to rw flags
OverlayFS implements its own function to translate iocb flags into rw
flags, so that they can be passed into another vfs call.
With commit ce71bfea20 ("fs: align IOCB_* flags with RWF_* flags")
Jens created a 1:1 matching between the iocb flags and rw flags,
simplifying the conversion.

Reduce the OverlayFS code by making the flag conversion function generic
and reusable.

Bug: 168023149
Link: https://lore.kernel.org/lkml/20210125153057.3623715-2-balsini@android.com/
Signed-off-by: Alessio Balsini <balsini@android.com>
Change-Id: I74aefeafd6ebbda2fbabee9024474dfe4cc6c2a7
Signed-off-by: Alessio Balsini <balsini@google.com>
2021-01-26 17:20:09 +00:00
..
copy_up.c Merge 071a0578b0 ("Merge tag 'ovl-update-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs") into android-mainline 2020-10-26 10:02:25 +01:00
dir.c Merge 071a0578b0 ("Merge tag 'ovl-update-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs") into android-mainline 2020-10-26 10:02:25 +01:00
export.c ovl: pass ovl_fs down to functions accessing private xattrs 2020-09-02 10:58:49 +02:00
file.c FROMLIST: fs: Generic function to convert iocb to rw flags 2021-01-26 17:20:09 +00:00
inode.c Merge 071a0578b0 ("Merge tag 'ovl-update-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs") into android-mainline 2020-10-26 10:02:25 +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 Merge 071a0578b0 ("Merge tag 'ovl-update-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs") into android-mainline 2020-10-26 10:02:25 +01:00
overlayfs.h ANDROID: overlayfs: fixup after upstream merge 2020-10-29 14:45:25 +00:00
ovl_entry.h Merge 071a0578b0 ("Merge tag 'ovl-update-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs") into android-mainline 2020-10-26 10:02:25 +01:00
readdir.c Merge 071a0578b0 ("Merge tag 'ovl-update-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs") into android-mainline 2020-10-26 10:02:25 +01:00
super.c Merge 071a0578b0 ("Merge tag 'ovl-update-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs") into android-mainline 2020-10-26 10:02:25 +01:00
util.c Merge 071a0578b0 ("Merge tag 'ovl-update-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs") into android-mainline 2020-10-26 10:02:25 +01:00