Skip to contentSkip to conversation

more vfs fixes

GIT PULL Al Viro 1 participant 1 message Mar 9, 2011 VFS

lore
Share & tools
lore

Al Viro

author maintainer
#0 lore raw

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(-)