[patch 1/7] vfs: mountinfo: add dentry_path()
authorRam Pai <linuxram@us.ibm.com>
Thu, 27 Mar 2008 12:06:20 +0000 (13:06 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 23 Apr 2008 04:04:32 +0000 (00:04 -0400)
commit6092d048183b76bfa3f84b32f8158dd8d10bd811
tree2d38af32961eb52b36daca2f29ce69e80f6e7283
parent934b25c597c0e98304a7eaec198a87e4633a42bb
[patch 1/7] vfs: mountinfo: add dentry_path()

[mszeredi@suse.cz] split big patch into managable chunks

Add the following functions:

  dentry_path()
  seq_dentry()

These are similar to d_path() and seq_path().  But instead of
calculating the path within a mount namespace, they calculate the path
from the root of the filesystem to a given dentry, ignoring mounts
completely.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c
fs/seq_file.c
include/linux/dcache.h
include/linux/seq_file.h