commit | 9d412a43c3b26e1e549319e5eec26f0829f9f74d | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Mar 17 22:08:28 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Mar 17 22:10:41 2011 -0400 |
tree | b6522b693564fed172e9f8aee2e42aa2fdd95c8a | |
parent | fbe0aa1f3d16fac5b641c0c1697371dcbe45b569 [diff] |
vfs: split off vfsmount-related parts of vfs_kern_mount() 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: Al Viro <viro@zeniv.linux.org.uk>