* [PATCH] remove page_follow_link
@ 2004-10-24 13:23 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2004-10-24 13:23 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-24 13:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-24 13:23 [PATCH] remove page_follow_link Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®