diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-09-09 10:16:41 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-10 18:56:29 -0400 |
commit | aac34df11791d25417f7d756dc277b6f95996b47 (patch) | |
tree | 0a0becb7fdff62056c065b9223058f0285fd5bf5 /include/linux/fs.h | |
parent | b05430fc9341fea7a6228a3611c850a476809596 (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/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 1 |
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; | |||
2494 | #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m)) | 2494 | #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m)) |
2495 | 2495 | ||
2496 | extern int vfs_readlink(struct dentry *, char __user *, int, const char *); | 2496 | extern int vfs_readlink(struct dentry *, char __user *, int, const char *); |
2497 | extern int vfs_follow_link(struct nameidata *, const char *); | ||
2498 | extern int page_readlink(struct dentry *, char __user *, int); | 2497 | extern int page_readlink(struct dentry *, char __user *, int); |
2499 | extern void *page_follow_link_light(struct dentry *, struct nameidata *); | 2498 | extern void *page_follow_link_light(struct dentry *, struct nameidata *); |
2500 | extern void page_put_link(struct dentry *, struct nameidata *, void *); | 2499 | extern void page_put_link(struct dentry *, struct nameidata *, void *); |