]> git.baikalelectronics.ru Git - kernel.git/commit
VFS: Add GPL_EXPORTED function vfs_kern_mount()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Jun 2006 13:34:15 +0000 (09:34 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Jun 2006 13:34:15 +0000 (09:34 -0400)
commit98ba20dc98877081ef623146df2b85a1dcf2ca53
tree41ee38709c36f86d565c1a3f311b8fa9546b3c8e
parent2284b561a3363057e89cdadd7dec2942b07c9e9e
VFS: Add GPL_EXPORTED function vfs_kern_mount()

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: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/super.c
include/linux/mount.h