• Trond Myklebust's avatar
    VFS: Add GPL_EXPORTED function vfs_kern_mount() · bb4a58bf
    Trond Myklebust authored
    do_kern_mount() does not allow the kernel to use private mount interfaces
    without exposing the same interfaces to userland. The problem is that the
    filesystem is referenced by name, thus meaning that it and its mount
    interface must be registered in the global filesystem list.
    vfs_kern_mount() passes the struct file_system_type as an explicit
    parameter in order to overcome this limitation.
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>