[GIT PULL] netfs, cachefiles, afs: Collected fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Link: https://lore.kernel.org/r/162729351325.813557.9242842205308443901.stgit@xxxxxxxxxxxxxxxxxxxxxx/ [1]
Link: https://lore.kernel.org/r/162886603464.3940407.3790841170414793899.stgit@xxxxxxxxxxxxxxxxxxxxxx [1]
Link: https://lore.kernel.org/r/163239074602.1243337.14154704004485867017.stgit@xxxxxxxxxxxxxxxxxxxxxx [1]
Link: https://lore.kernel.org/r/162729351325.813557.9242842205308443901.stgit@xxxxxxxxxxxxxxxxxxxxxx/ [2]
Link: https://lore.kernel.org/r/162886603464.3940407.3790841170414793899.stgit@xxxxxxxxxxxxxxxxxxxxxx [2]
Link: https://lore.kernel.org/r/163239074602.1243337.14154704004485867017.stgit@xxxxxxxxxxxxxxxxxxxxxx [2]
Link: https://lore.kernel.org/r/162880783179.3421678.7795105718190440134.stgit@xxxxxxxxxxxxxxxxxxxxxx/ [3]
Link: https://lore.kernel.org/r/162937512409.1449272.18441473411207824084.stgit@xxxxxxxxxxxxxxxxxxxxxx/ [3]
Link: https://lore.kernel.org/r/162981148752.1901565.3663780601682206026.stgit@xxxxxxxxxxxxxxxxxxxxxx/ [3]
Link: https://lore.kernel.org/r/163005741670.2472992.2073548908229887941.stgit@xxxxxxxxxxxxxxxxxxxxxx/ [3]
Link: https://lore.kernel.org/r/163221839087.3143591.14278359695763025231.stgit@xxxxxxxxxxxxxxxxxxxxxx/ [3]
Link: https://lore.kernel.org/r/163292980654.4004896.7134735179887998551.stgit@xxxxxxxxxxxxxxxxxxxxxx/ [3]

---
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(-)





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux