[git pull] more vfs fixes

From: Al Viro
Date: Tue Mar 08 2011 - 23:57:48 EST


Several fixes for Nick's RCU stuff; open() without O_CREAT
can be tricked into creating files, ->d_compare() in /proc/sys is trying
and failing to be RCU-safe (strictly speaking not a regression, but only
because it will be kicked out of RCU mode by ->permission() refusing
to accept IPERM_FLAG_RCU) and spurious errors in open() and vfs_path_lookup()
since we forget to set nd->inode on the LOOKUP_REVAL attempt. More fixes
tomorrow... Please, pull from

git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6.git/ for-linus

Shortlog:
Al Viro (3):
minimal fix for do_filp_open() race
unfuck proc_sysctl ->d_compare()
nd->inode is not set on the second attempt in path_walk()

Diffstat:
fs/namei.c | 14 +++++++++++---
fs/proc/inode.c | 8 ++++++--
fs/proc/proc_sysctl.c | 7 +++++--
include/linux/sysctl.h | 14 ++++++++++----
kernel/sysctl.c | 15 ++++++++++-----
5 files changed, 42 insertions(+), 16 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/