[PATCH] remove page_follow_link

From: Christoph Hellwig
Date: Sun Oct 24 2004 - 08:31:10 EST


all filesystems have been switched to page_follow_link_light


--- 1.113/fs/namei.c 2004-10-19 11:40:20 +02:00
+++ edited/fs/namei.c 2004-10-23 14:44:12 +02:00
@@ -2388,18 +2403,6 @@
}
}

-int page_follow_link(struct dentry *dentry, struct nameidata *nd)
-{
- struct page *page = NULL;
- char *s = page_getlink(dentry, &page);
- int res = __vfs_follow_link(nd, s);
- if (page) {
- kunmap(page);
- page_cache_release(page);
- }
- return res;
-}
-
int page_symlink(struct inode *inode, const char *symname, int len)
{
struct address_space *mapping = inode->i_mapping;
@@ -2455,7 +2458,6 @@
EXPORT_SYMBOL(lock_rename);
EXPORT_SYMBOL(lookup_hash);
EXPORT_SYMBOL(lookup_one_len);
-EXPORT_SYMBOL(page_follow_link);
EXPORT_SYMBOL(page_follow_link_light);
EXPORT_SYMBOL(page_put_link);
EXPORT_SYMBOL(page_readlink);
--- 1.358/include/linux/fs.h 2004-10-20 10:37:21 +02:00
+++ edited/include/linux/fs.h 2004-10-23 14:43:40 +02:00
@@ -1524,7 +1524,6 @@
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 int page_follow_link(struct dentry *, struct nameidata *);
extern int page_follow_link_light(struct dentry *, struct nameidata *);
extern void page_put_link(struct dentry *, struct nameidata *);
extern int page_symlink(struct inode *inode, const char *symname, int len);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/