[PATCH vfs/for-next 00/18] fs_context fixes

From: Eric Biggers
Date: Sun Jul 08 2018 - 17:05:37 EST


Hi David and Al, here are some fixes for the fs_context patches.

Feel free to fold these into the original patches if you want.

Patches 13-18 are cleanups only.

Eric Biggers (18):
sysfs: check return value of kernfs_get_tree()
fs_context: fix shrinker leak in sget_fc()
fs_context: fix detecting full log buffer
fs_context: fix fs_context leak in simple_pin_fs()
fs_context: fix mount option blacklist
fs_context: fix memory leak with 's' (source) command
fs_context: fix double free of legacy_fs_context data
fsmount: pass up error code from dentry_open()
fsmount: fix handling FSMOUNT_CLOEXEC
fsmount: fix bypassing SB_MANDLOCK permission check
fspick: fix path leak
fspick: add missing permission check
fsmount: removed unused variable 'inode'
fsopen,fspick: factor out log allocation
fsopen,fspick: rename fsopen_create_fd() to fscontext_create_fd()
fs_context: de-obfuscate control flow in fscontext_read()
fs_context: de-obfuscate command validation
fs_context: fix fscontext_write() comment

fs/fs_context.c | 47 ++++++++++++++++++--------------
fs/fsopen.c | 71 +++++++++++++++++++++++++-----------------------
fs/libfs.c | 4 ++-
fs/namespace.c | 20 ++++++++------
fs/super.c | 2 +-
fs/sysfs/mount.c | 3 ++
6 files changed, 81 insertions(+), 66 deletions(-)

--
2.18.0