[git pull] vfs fixes
From: Al Viro
Date: Fri Apr 20 2018 - 11:58:54 EST
Assorted fixes. Some of that is only a matter with fault injection
(broken handling of small allocation failure in various mount-related places),
but the last one is a root-triggerable stack overflow, and combined with
userns it gets really nasty ;-/
The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338:
Linux 4.17-rc1 (2018-04-15 18:24:20 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus
for you to fetch changes up to 16a34adb9392b2fe4195267475ab5b472e55292c:
Don't leak MNT_INTERNAL away from internal mounts (2018-04-19 23:52:15 -0400)
----------------------------------------------------------------
Al Viro (5):
hypfs_kill_super(): deal with failed allocations
jffs2_kill_sb(): deal with failed allocations
orangefs_kill_sb(): deal with allocation failures
rpc_pipefs: fix double-dput()
Don't leak MNT_INTERNAL away from internal mounts
Tetsuo Handa (1):
mm,vmscan: Allow preallocating memory for register_shrinker().
arch/s390/hypfs/inode.c | 2 +-
fs/jffs2/super.c | 2 +-
fs/namespace.c | 3 ++-
fs/orangefs/super.c | 5 +++++
fs/super.c | 9 ++++-----
include/linux/shrinker.h | 7 +++++--
mm/vmscan.c | 21 ++++++++++++++++++++-
net/sunrpc/rpc_pipe.c | 1 +
8 files changed, 39 insertions(+), 11 deletions(-)