From: Miklos Szeredi Date: Thu, 27 Mar 2008 12:06:24 +0000 (+0100) Subject: [patch 5/7] vfs: mountinfo: allow using process root X-Git-Tag: v2.6.26-rc1~1094^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1a2c409b666befc58c2db9c7fbddf200f153470;p=pandora-kernel.git [patch 5/7] vfs: mountinfo: allow using process root Allow /proc//mountinfo to use the root of to calculate mountpoints. - move definition of 'struct proc_mounts' to - add the process's namespace and root to this structure - pass a pointer to 'struct proc_mounts' into seq_operations In addition the following cleanups are made: - use a common open function for /proc//{mounts,mountstat} - surround namespace.c part of these proc files with #ifdef CONFIG_PROC_FS - make the seq_operations structures const Signed-off-by: Miklos Szeredi Signed-off-by: Al Viro --- Reading git-diff-tree failed