aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/export.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-07-06 18:53:37 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2025-09-15 21:17:08 -0400
commit9c71fe0abf324ab0ba77e3d161d16af3e0f9074b (patch)
tree214d6866c9c1512cd78ea2f61328093fb362de6a /fs/nfsd/export.c
parentnfs: constify path argument of __vfs_getattr() (diff)
downloadlinux-9c71fe0abf324ab0ba77e3d161d16af3e0f9074b.tar.gz
linux-9c71fe0abf324ab0ba77e3d161d16af3e0f9074b.zip
rqst_exp_get_by_name(): constify path argument
Acked-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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 cadfc2bae60e..dffb24758f60 100644
--- a/fs/nfsd/export.c
+++ b/fs/nfsd/export.c
@@ -1181,7 +1181,7 @@ denied:
* use exp_get_by_name() or exp_find().
*/
struct svc_export *
-rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path)
+rqst_exp_get_by_name(struct svc_rqst *rqstp, const struct path *path)
{
struct svc_export *gssexp, *exp = ERR_PTR(-ENOENT);
struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);