aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/export.c')
-rw-r--r--fs/nfsd/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c
index 4a85b40eef4f..8a6f7c924c75 100644
--- a/fs/nfsd/export.c
+++ b/fs/nfsd/export.c
@@ -345,7 +345,7 @@ static void svc_export_request(struct cache_detail *cd,
345 char *pth; 345 char *pth;
346 346
347 qword_add(bpp, blen, exp->ex_client->name); 347 qword_add(bpp, blen, exp->ex_client->name);
348 pth = d_path(exp->ex_path.dentry, exp->ex_path.mnt, *bpp, *blen); 348 pth = d_path(&exp->ex_path, *bpp, *blen);
349 if (IS_ERR(pth)) { 349 if (IS_ERR(pth)) {
350 /* is this correct? */ 350 /* is this correct? */
351 (*bpp)[0] = '\n'; 351 (*bpp)[0] = '\n';