Merge RESOLVE_CACHED bits from Al, as the io_uring changes will build on top of that. * 'work.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: fs: expose LOOKUP_CACHED through openat2() RESOLVE_CACHED fs: add support for LOOKUP_CACHED saner calling conventions for unlazy_child() fs: make unlazy_walk() error handling consistent fs/namei.c: Remove unlikely of status being -ECHILD in lookup_fast() do_tmpfile(): don't mess with finish_open()
Showing the changes to include/uapi (1 of 5 files). Show all
Unified · Split
| @@ -35,5 +35,9 @@ struct open_how { · 34 unmodified lines | ||
| 35 | 35 | #define RESOLVE_IN_ROOT 0x10 /* Make all jumps to "/" and ".." |
| 36 | 36 | be scoped inside the dirfd |
| 37 | 37 | (similar to chroot(2)). */ |
| 38 | +#define RESOLVE_CACHED 0x20 /* Only complete if resolution can be | |
| 39 | + completed through cached lookup. May | |
| 40 | + return -EAGAIN if that's not | |
| 41 | + possible. */ | |
| 38 | 42 | |
| 39 | 43 | #endif /* _UAPI_LINUX_OPENAT2_H */ |