diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2008-03-27 13:06:24 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-04-23 00:04:57 -0400 |
commit | a1a2c409b666befc58c2db9c7fbddf200f153470 (patch) | |
tree | 3ea8e4c8f1311436939492d70de23dcf185994de /Documentation | |
parent | 719f5d7f0b90ac2c8f8ca4232eb322b266fea01e (diff) | |
download | linux-3.10-a1a2c409b666befc58c2db9c7fbddf200f153470.tar.gz linux-3.10-a1a2c409b666befc58c2db9c7fbddf200f153470.tar.bz2 linux-3.10-a1a2c409b666befc58c2db9c7fbddf200f153470.zip |
[patch 5/7] vfs: mountinfo: allow using process root
Allow /proc/<pid>/mountinfo to use the root of <pid> to calculate
mountpoints.
- move definition of 'struct proc_mounts' to <linux/mnt_namespace.h>
- 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/<pid>/{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 <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions