From: Miklos Szeredi Date: Thu, 27 Mar 2008 12:06:21 +0000 (+0100) Subject: [patch 2/7] vfs: mountinfo: add seq_file_root() X-Git-Tag: v2.6.26-rc1~1094^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d1bc60138977d9c79471b344a64f2df13b2ccef;p=pandora-kernel.git [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 Signed-off-by: Al Viro --- Reading git-diff-tree failed