[RFC][PATCH 0/8] fscache, cachefiles: Fixes
David Howells
dhowells at redhat.com
Sat Apr 9 09:05:56 AEST 2022
Here's a collection of fscache and cachefiles fixes and misc small
cleanups. The two main fixes are:
(1) Add a missing unmark of the inode in-use mark in an error path.
(2) Fix a KASAN slab-out-of-bounds error when setting the xattr on a
cachefiles volume due to the wrong length being given to memcpy().
In addition, there's the removal of an unused parameter, removal of an
unused Kconfig option, conditionalising a bit of procfs-related stuff and
some doc fixes.
The patches are on a branch here:
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=fscache-fixes
David
---
Dave Wysochanski (1):
cachefiles: Fix KASAN slab-out-of-bounds in cachefiles_set_volume_xattr
Jeffle Xu (1):
cachefiles: unmark inode in use in error path
Yue Hu (6):
docs: filesystems: caching/backend-api.rst: correct two relinquish APIs use
docs: filesystems: caching/backend-api.rst: fix an object withdrawn API
fscache: Remove the cookie parameter from fscache_clear_page_bits()
fscache: Move fscache_cookies_seq_ops specific code under CONFIG_PROC_FS
fscache: Use wrapper fscache_set_cache_state() directly when relinquishing
fscache: remove FSCACHE_OLD_API Kconfig option
.../filesystems/caching/backend-api.rst | 8 ++---
.../filesystems/caching/netfs-api.rst | 25 +++++++-------
fs/afs/write.c | 3 +-
fs/cachefiles/namei.c | 33 ++++++++++++++-----
fs/cachefiles/xattr.c | 2 +-
fs/fscache/Kconfig | 3 --
fs/fscache/cache.c | 2 +-
fs/fscache/cookie.c | 4 ++-
fs/fscache/internal.h | 4 +++
fs/fscache/io.c | 5 ++-
include/linux/fscache.h | 4 +--
11 files changed, 53 insertions(+), 40 deletions(-)
More information about the Linux-erofs
mailing list