Skip to contentSkip to conversation

netfs, cachefiles, afs: Collected fixes

GIT PULL Merged David Howells 2 participants 2 messages Oct 7, 2021

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

Hi Linus,

Can you pull this set of collected fixes please? There are three:

(1) Fix another couple of oopses in cachefiles tracing stemming from the possibility of passing in a NULL object pointer[1].

(2) Fix netfs_clear_unread() to set READ on the iov_iter so that source it is passed to doesn't do the wrong thing (some drivers look at the flag on iov_iter rather than other available information to determine the direction)[2].

(3) Fix afs_launder_page() to write back at the correct file position on the server so as not to corrupt data[3].

David

---
The following changes since commit 9e1ff307c779ce1f0f810c7ecce3d95bbae40896:

Linux 5.15-rc4 (2021-10-03 14:08:47 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/misc-fixes-20211007

for you to fetch changes up to 5c0522484eb54b90f2e46a5db8d7a4ff3ff86e5d:

afs: Fix afs_launder_page() to set correct start file position (2021-10-05 11:22:06 +0100)

----------------------------------------------------------------
netfslib, cachefiles and afs fixes

----------------------------------------------------------------
Dave Wysochanski (1):
cachefiles: Fix oops with cachefiles_cull() due to NULL object

David Howells (2):
netfs: Fix READ/WRITE confusion when calling iov_iter_xarray()
afs: Fix afs_launder_page() to set correct start file position

 fs/afs/write.c                    | 3 +--
 fs/netfs/read_helper.c            | 2 +-
 include/trace/events/cachefiles.h | 4 ++--
 3 files changed, 4 insertions(+), 5 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Thu, 07 Oct 2021 16:53:04 +0100:

The pull request you sent on Thu, 07 Oct 2021 16:53:04 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/misc-fixes-20211007

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7041503d3a5c869e4b4934df57112ef90ce7e307

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html