From: Al Viro Date: Fri, 18 Mar 2011 02:08:28 +0000 (-0400) Subject: vfs: split off vfsmount-related parts of vfs_kern_mount() X-Git-Tag: v2.6.39-rc1~419^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d412a43c3b26e1e549319e5eec26f0829f9f74d;p=pandora-kernel.git 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 --- Reading git-diff-tree failed