[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241107110649.3980193-1-wozizhi@huawei.com>
Date: Thu, 7 Nov 2024 19:06:44 +0800
From: Zizhi Wo <wozizhi@...wei.com>
To: <netfs@...ts.linux.dev>, <dhowells@...hat.com>, <jlayton@...nel.org>,
<brauner@...nel.org>
CC: <hsiangkao@...ux.alibaba.com>, <jefflexu@...ux.alibaba.com>,
<zhujia.zj@...edance.com>, <linux-erofs@...ts.ozlabs.org>,
<linux-fsdevel@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<wozizhi@...wei.com>, <libaokun1@...wei.com>, <yangerkun@...wei.com>,
<houtao1@...wei.com>, <yukuai3@...wei.com>
Subject: [PATCH v2 0/5] fscache/cachefiles: Some bugfixes
Changes since V1[1]:
- Removed some incorrect patches.
- Modified the description of the first patch.
- Modified the fourth patch to move fput out of lock execution.
Recently, I sent the first version of the patch series. After some
discussions, I made modifications to a few patches and have now officially
sent this second version.
This patchset mainly includes 5 fix patches about fscache/cachefiles.
Additionally, patches 2, 3, and 5 have already been ACKed. The first patch
fixes an issue with the incorrect return length, and the fourth patch
addresses a null pointer dereference issue with file.
[1] https://lore.kernel.org/all/20240821024301.1058918-1-wozizhi@huawei.com/
Zizhi Wo (5):
cachefiles: Fix incorrect length return value in
cachefiles_ondemand_fd_write_iter()
cachefiles: Fix missing pos updates in
cachefiles_ondemand_fd_write_iter()
cachefiles: Clean up in cachefiles_commit_tmpfile()
cachefiles: Fix NULL pointer dereference in object->file
netfs/fscache: Add a memory barrier for FSCACHE_VOLUME_CREATING
fs/cachefiles/interface.c | 14 ++++++++++----
fs/cachefiles/namei.c | 5 -----
fs/cachefiles/ondemand.c | 38 +++++++++++++++++++++++++++++---------
fs/netfs/fscache_volume.c | 3 +--
4 files changed, 40 insertions(+), 20 deletions(-)
--
2.39.2
Powered by blists - more mailing lists