path: root/include
diff options
authorChristoph Hellwig <hch@infradead.org>2013-09-09 07:16:41 -0700
committerAl Viro <viro@zeniv.linux.org.uk>2013-09-10 18:56:29 -0400
commitaac34df11791d25417f7d756dc277b6f95996b47 (patch)
tree0a0becb7fdff62056c065b9223058f0285fd5bf5 /include
parentb05430fc9341fea7a6228a3611c850a476809596 (diff)
fs: remove vfs_follow_link
For a long time no filesystem has been using vfs_follow_link, and as seen by recent filesystem submissions any new use is accidental as well. Remove vfs_follow_link, document the replacement in Documentation/filesystems/porting and also rename __vfs_follow_link to match its only caller better. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 529d8711baba..49e71b0f0e9f 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2494,7 +2494,6 @@ extern const struct file_operations generic_ro_fops;
#define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
extern int vfs_readlink(struct dentry *, char __user *, int, const char *);
-extern int vfs_follow_link(struct nameidata *, const char *);
extern int page_readlink(struct dentry *, char __user *, int);
extern void *page_follow_link_light(struct dentry *, struct nameidata *);
extern void page_put_link(struct dentry *, struct nameidata *, void *);