From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f175.google.com ([209.85.192.175]:46159 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933074AbeGHVFc (ORCPT ); Sun, 8 Jul 2018 17:05:32 -0400 From: Eric Biggers To: David Howells , Alexander Viro , linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Eric Biggers Subject: [PATCH vfs/for-next 00/18] fs_context fixes Date: Sun, 8 Jul 2018 14:01:36 -0700 Message-Id: <20180708210154.10423-1-ebiggers3@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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