Skip to content
  • Al Viro's avatar
    vfs: split off vfsmount-related parts of vfs_kern_mount() · 9d412a43
    Al Viro authored
    
    
    new function: mount_fs().  Does all work done by vfs_kern_mount()
    except the allocation and filling of vfsmount; returns root dentry
    or ERR_PTR().
    
    vfs_kern_mount() switched to using it and taken to fs/namespace.c,
    along with its wrappers.
    
    alloc_vfsmnt()/free_vfsmnt() made static.
    
    functions in namespace.c slightly reordered.
    
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    9d412a43