[patch 2/7] vfs: mountinfo: add seq_file_root()
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 27 Mar 2008 12:06:21 +0000 (13:06 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 23 Apr 2008 04:04:38 +0000 (00:04 -0400)
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>

No differences found