[GIT PULL] namespace related fixes for 4.10-rc4

From: Eric W. Biederman
Date: Tue Jan 10 2017 - 18:30:02 EST


Linus,

Please pull the for-linus branch from the git tree:

git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus

HEAD: 93362fa47fe98b62e4a34ab408c4a418432e7939 sysctl: Drop reference added by grab_header in proc_sys_readdir

This tree contains 4 fixes.

The first is a fix for a race that can causes oopses under the right
circumstances, and that someone just recently encountered.

Past that are several small trivial correct fixes. A real issue that
was blocking development of an out of tree driver, but does not appear
to have caused any actual problems for in-tree code. A potential
deadlock that was reported by lockdep. And a deadlock people have
experienced and took the time to track down caused by a cleanup that
removed the code to drop a reference count.

I have dropped the mount hash table fix that Al objected to and will
come back to that when the discussion around that patch is complete.

Andrei Vagin (1):
pid: fix lockdep deadlock warning due to ucount_lock

Eric W. Biederman (2):
mnt: Protect the mountpoint hashtable with mount_lock
libfs: Modify mount_pseudo_xattr to be clear it is not a userspace mount

Zhou Chengming (1):
sysctl: Drop reference added by grab_header in proc_sys_readdir

fs/dcache.c | 7 ++++--
fs/libfs.c | 3 ++-
fs/namespace.c | 64 +++++++++++++++++++++++++++++++++++---------------
fs/proc/proc_sysctl.c | 3 ++-
kernel/pid_namespace.c | 10 ++++----
5 files changed, 60 insertions(+), 27 deletions(-)

Eric