WSL2-Linux-Kernel/fs/cachefiles
Jia Zhu 65aa5f6fd8 cachefiles: narrow the scope of flushed requests when releasing fd
When an anonymous fd is released, only flush the requests
associated with it, rather than all of requests in xarray.

Fixes: 9032b6e858 ("cachefiles: implement on-demand read")
Signed-off-by: Jia Zhu <zhujia.zj@bytedance.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://listman.redhat.com/archives/linux-cachefs/2022-June/006937.html
2022-07-05 16:12:21 +01:00
..
Kconfig cachefiles: notify the user daemon when looking up cookie 2022-05-18 00:11:17 +08:00
Makefile cachefiles: notify the user daemon when looking up cookie 2022-05-18 00:11:17 +08:00
cache.c
daemon.c cachefiles: enable on-demand read mode 2022-05-18 00:11:18 +08:00
error_inject.c
interface.c cachefiles: notify the user daemon when withdrawing cookie 2022-05-18 00:11:17 +08:00
internal.h cachefiles: implement on-demand read 2022-05-18 00:11:18 +08:00
io.c cachefiles: implement on-demand read 2022-05-18 00:11:18 +08:00
key.c
main.c
namei.c cachefiles: notify the user daemon when looking up cookie 2022-05-18 00:11:17 +08:00
ondemand.c cachefiles: narrow the scope of flushed requests when releasing fd 2022-07-05 16:12:21 +01:00
security.c
volume.c
xattr.c cachefiles: Fix KASAN slab-out-of-bounds in cachefiles_set_volume_xattr 2022-04-08 23:32:40 +01:00