procfs: make proc_get_link to use dentry instead of inode
authorCyrill Gorcunov <gorcunov@openvz.org>
Tue, 10 Jan 2012 23:11:20 +0000 (15:11 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:54 +0000 (16:30 -0800)
commit7773fbc54182a90cd248656619c7d33859e5f91d
tree1fe1cc91e194164c19675a588dad0efb3a8c8007
parent5e6292c0f28f03dfdb8ea3d685f0b838a23bfba4
procfs: make proc_get_link to use dentry instead of inode

Prepare the ground for the next "map_files" patch which needs a name of a
link file to analyse.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Vasiliy Kulikov <segoon@openwall.com>
Cc: "Kirill A. Shutemov" <kirill@shutemov.name>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c
include/linux/proc_fs.h