summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-04-06 07:50:54 +1000
committerDave Chinner <david@fromorbit.com>2016-04-06 07:50:54 +1000
commitbfe8804d908a791b16e3686c101f0d7eca9fb5b9 (patch)
tree27e4b81319999af23a20fcceace84a2b922ad5fe /fs/namei.c
parent2b3d1d41b4d96c3b074096ae57b27cd191969643 (diff)
downloadlinux-bfe8804d908a791b16e3686c101f0d7eca9fb5b9.tar.bz2
xfs: use ->readlink to implement the readlink_by_handle ioctl
Also drop the now unused readlink_copy export. [dchinner: use d_inode(dentry) rather than dentry->d_inode] Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 794f81dce766..cdd041985929 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -4515,7 +4515,6 @@ int readlink_copy(char __user *buffer, int buflen, const char *link)
out:
return len;
}
-EXPORT_SYMBOL(readlink_copy);
/*
* A helper for ->readlink(). This should be used *ONLY* for symlinks that