diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2008-03-27 13:06:21 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-04-23 06:04:38 +0200 |
commit | 9d1bc60138977d9c79471b344a64f2df13b2ccef (patch) | |
tree | 84ed2e1920a1a88ae84515bd9d90240faed5805c /fs/namespace.c | |
parent | [patch 1/7] vfs: mountinfo: add dentry_path() (diff) | |
download | linux-9d1bc60138977d9c79471b344a64f2df13b2ccef.tar.xz linux-9d1bc60138977d9c79471b344a64f2df13b2ccef.zip |
[patch 2/7] vfs: mountinfo: add seq_file_root()
Add a new function:
seq_file_root()
This is similar to seq_path(), but calculates the path relative to the
given root, instead of current->fs->root. If the path was unreachable
from root, then modify the root parameter to reflect this.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions