Skip to contentSkip to conversation

more vfs fixes

GIT PULL Al Viro 1 participant 1 message Mar 28, 2008

lore
Share & tools
lore

Al Viro

author
#0 lore raw

Sanitized locking for ->mnt_expiry, race fixes for shrink_submounts(), some stack footprint reduction on using struct path instead of struct nameidata in several places in namespace.c (more will be possible once we sanitize prototypes of several LSM hooks, but that's post-25).

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

Shortlog:
Al Viro (5):
reduce stack footprint in namespace.c
count ghost references to vfsmounts
sanitize locking in mark_mounts_for_expiry() and shrink_submounts() do shrink_submounts() for all fs types
mnt_expire is protected by namespace_sem, no need for vfsmount_lock

Diffstat:

 fs/afs/internal.h      |    1 -
 fs/afs/mntpt.c         |    8 --
 fs/afs/super.c         |    1 -
 fs/cifs/cifs_dfs_ref.c |    1 -
 fs/namespace.c         |  200 +++++++++++++++++-------------------------------
 fs/nfs/super.c         |    2 -
 fs/pnode.c             |    2 +-
 include/linux/mount.h  |    2 +-
 8 files changed, 71 insertions(+), 146 deletions(-)