summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4namespace.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-16 22:28:34 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-16 22:28:34 -0500
commit9526d9bc23f362035cfabf044aa90f4ed1787955 (patch)
tree3c24639de58cfaebc9f2616750dedfdad4251c35 /fs/nfs/nfs4namespace.c
parentd042f3135e5e3a0132942335dea0155ae86a7308 (diff)
parent6929039761a3414e5c71448eb3dcc1d82fc1891d (diff)
Merge branch 'arch-arm64' into no-rebases
Diffstat (limited to 'fs/nfs/nfs4namespace.c')
-rw-r--r--fs/nfs/nfs4namespace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/nfs4namespace.c b/fs/nfs/nfs4namespace.c
index 79fbb61ce202..1e09eb78543b 100644
--- a/fs/nfs/nfs4namespace.c
+++ b/fs/nfs/nfs4namespace.c
@@ -81,7 +81,8 @@ static char *nfs_path_component(const char *nfspath, const char *end)
static char *nfs4_path(struct dentry *dentry, char *buffer, ssize_t buflen)
{
char *limit;
- char *path = nfs_path(&limit, dentry, buffer, buflen);
+ char *path = nfs_path(&limit, dentry, buffer, buflen,
+ NFS_PATH_CANONICAL);
if (!IS_ERR(path)) {
char *path_component = nfs_path_component(path, limit);
if (path_component)