mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] afs, fscache: Fixes
@ 2018-01-02 10:43 David Howells
  2018-01-02 10:44 ` [PATCH 2/4] afs: Potential uninitialized variable in afs_extract_data() David Howells
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: David Howells @ 2018-01-02 10:43 UTC (permalink / raw)
  To: torvalds; +Cc: dhowells, linux-afs, linux-fsdevel, linux-kernel


Hi Linus,

Is it too late in the cycle to send some AFS fixes?  If you don't want to
pull the AFS fixes, can you at least apply the fscache fix as that
potentially affects other filesystems too?

There are four patches:

 (1) Fix the default return of fscache_maybe_release_page() when a cache
     isn't in use - it prevents a filesystem from releasing pages.  This
     can cause a system to OOM.

 (2) Fix a potential uninitialised variable in AFS.

 (3) Fix AFS unlink's handling of the nlink count.  It needs to use the
     nlink manipulation functions so that inode structs of deleted inodes
     actually get scheduled for destruction.

 (4) Fix error handling in afs_write_end() so that the page gets unlocked
     and put if we can't fill the unwritten portion.

The patches can be found here also:

	http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=afs-fixes

tagged thusly:

	afs-fixes-20180102

David
---
Dan Carpenter (1):
      afs: Potential uninitialized variable in afs_extract_data()

David Howells (3):
      fscache: Fix the default for fscache_maybe_release_page()
      afs: Fix unlink
      afs: Fix missing error handling in afs_write_end()


 fs/afs/dir.c            |   37 +++++++++++++++++++++++++++++--------
 fs/afs/inode.c          |    4 ++++
 fs/afs/rxrpc.c          |    2 +-
 fs/afs/write.c          |    8 +++++---
 include/linux/fscache.h |    2 +-
 5 files changed, 40 insertions(+), 13 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-02 10:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-02 10:43 [PATCH 0/4] afs, fscache: Fixes David Howells
2018-01-02 10:44 ` [PATCH 2/4] afs: Potential uninitialized variable in afs_extract_data() David Howells
2018-01-02 10:44 ` [PATCH 3/4] afs: Fix unlink David Howells
2018-01-02 10:44 ` [PATCH 4/4] afs: Fix missing error handling in afs_write_end() David Howells
2018-01-02 10:51 ` [PATCH 1/4] fscache: Fix the default for fscache_maybe_release_page() David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®