Skip to contentSkip to conversation

VFS patches (second series)

GIT PULL Al Viro 3 participants 6 messages Apr 23, 2008 VFS

lore
Share & tools
lore

Al Viro

author maintainer
#0 lore raw

More namespace.c sanitizing (saner locking rules, further trimming
of stack footprint). Preparation for mountinfo merge (allowing seq_file ->show() to tell seq_file that output for this entry is to be discarded). A couple of fixes - one for long-standing race in /proc/*/fd readdir, another for breakage introduced on pipe() failure exit in ro-bind series (this one is probably the most urgent in the entire pile). And misc cleanups...

There will be probably 3 or 4 more series in this cycle - this
is not the last one...

Please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6.git/ for-linus

Shortlog:
Al Viro (9):
move a bunch of declarations to fs/internal.h
lock exclusively in collect_mounts() and drop_collected_mounts() switch a bunch of LSM hooks from nameidata to path
get rid of more nameidata passing in namespace.c umount_tree() will unhash everything itself
teach seq_file to discard entries
double-free of inode on alloc_file() failure exit in create_write_pipe() proc_readfd_common() race fix
get rid of __exit_files(), __exit_fs() and __put_fs_struct()

Diffstat:

 fs/internal.h              |   11 +++++++
 fs/namespace.c             |   66 +++++++++++++++++++++----------------------
 fs/pipe.c                  |    3 ++
 fs/pnode.c                 |    4 +-
 fs/pnode.h                 |    1 +
 fs/proc/base.c             |    4 +--
 fs/seq_file.c              |   16 ++++++++--
 fs/super.c                 |    1 +
 include/linux/dcache.h     |    1 -
 include/linux/fs.h         |    6 ----
 include/linux/mount.h      |    2 -
 include/linux/security.h   |   52 +++++++++++++++++-----------------
 include/linux/seq_file.h   |    2 +
 kernel/exit.c              |   27 ++++--------------
 security/dummy.c           |   10 +++---
 security/security.c        |   20 ++++++------
 security/selinux/hooks.c   |    8 ++--
 security/smack/smack_lsm.c |    4 +-
 18 files changed, 118 insertions(+), 120 deletions(-)
#1 lore raw
Quoted 3 lines · Al Viro

There will be probably 3 or 4 more series in this cycle - this
is not the last one...

Btw, your last series introduced a warning (fs/xattr.c - unused 'out_fput' label), so I'm hoping that one has some reason for it? Or can we just get that thing removed?

Linus

author maintainer
#2 lore raw
Quoted 10 lines · Linus Torvalds
Quoted 3 lines · Al Viro

There will be probably 3 or 4 more series in this cycle - this
is not the last one...

Btw, your last series introduced a warning (fs/xattr.c - unused 'out_fput' label), so I'm hoping that one has some reason for it? Or can we just get that thing removed?

The latter; will do in the next batch.

author maintainer
#3 lore raw

[git pull] VFS patches (third series, mountinfo merge)

In reply to Al Viro

Mountinfo series + noise removal in xattr.c (unused label from
ro-bind series).

Please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6.git/ for-linus

Shortlog:

Al Viro (1):
remove unused label in xattr.c (noise from ro-bind)

Miklos Szeredi (5):
[patch 2/7] vfs: mountinfo: add seq_file_root() [patch 3/7] vfs: mountinfo: add mount ID [patch 4/7] vfs: mountinfo: add mount peer group ID [patch 5/7] vfs: mountinfo: allow using process root [patch 7/7] vfs: mountinfo: show dominating group id

Ram Pai (2):
[patch 1/7] vfs: mountinfo: add dentry_path() [patch 6/7] vfs: mountinfo: add /proc/<pid>/mountinfo

Diffstat:

 Documentation/filesystems/proc.txt |   38 +++++
 fs/dcache.c                        |  114 +++++++++++-----
 fs/namespace.c                     |  265 +++++++++++++++++++++++++++++++-----
 fs/pnode.c                         |   56 ++++++++-
 fs/pnode.h                         |    1 +
 fs/proc/base.c                     |  121 +++++++++--------
 fs/seq_file.c                      |   95 +++++++++++--
 fs/xattr.c                         |    1 -
 include/linux/dcache.h             |    2 +
 include/linux/mnt_namespace.h      |   12 ++
 include/linux/mount.h              |    2 +
 include/linux/seq_file.h           |    4 +
 12 files changed, 573 insertions(+), 138 deletions(-)
#4 lore raw

Re: [git pull] VFS patches (third series, mountinfo merge)

Just curious... do you plan to merge your changes to anon_inodes for 2.6.26?

Thanks,
Roland

author maintainer
#5 lore raw

Re: [git pull] VFS patches (third series, mountinfo merge)

Quoted 2 lines · Roland Dreier

Just curious... do you plan to merge your changes to anon_inodes for 2.6.26?

As soon as kvm.git gets merged...