@@ -4713,17 +4713,6 @@ void page_put_link(void *arg)
}
EXPORT_SYMBOL(page_put_link);
-int page_readlink(struct dentry *dentry, char __user *buffer, int buflen)
-{
- DEFINE_DELAYED_CALL(done);
- int res = readlink_copy(buffer, buflen,
- page_get_link(dentry, d_inode(dentry),
- &done));
- do_delayed_call(&done);
- return res;
-}
-EXPORT_SYMBOL(page_readlink);
-
/*
* The nofs argument instructs pagecache_write_begin to pass AOP_FLAG_NOFS
*/
@@ -2890,7 +2890,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 readlink_copy(char __user *, int, const char *);
-extern int page_readlink(struct dentry *, char __user *, int);
extern const char *page_get_link(struct dentry *, struct inode *,
struct delayed_call *);
extern void page_put_link(void *);
Remove this unused helper (sole previous user was AFS). Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> --- fs/namei.c | 11 ----------- include/linux/fs.h | 1 - 2 files changed, 12 deletions(-)