diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-07-06 21:56:58 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-09-15 21:17:08 -0400 |
| commit | 72c1118d32eb35e1548a161b428bd89d4a244f79 (patch) | |
| tree | 1e7d83efe606f0ab799eca7a80a880bfdd281edd | |
| parent | 2930afe2c9cb9aec329269e40c851bf56cdcc09c (diff) | |
check_export(): constify path argument
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| -rw-r--r-- | fs/nfsd/export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c index dffb24758f60..caa695c06efb 100644 --- a/fs/nfsd/export.c +++ b/fs/nfsd/export.c @@ -402,7 +402,7 @@ static struct svc_export *svc_export_update(struct svc_export *new, struct svc_export *old); static struct svc_export *svc_export_lookup(struct svc_export *); -static int check_export(struct path *path, int *flags, unsigned char *uuid) +static int check_export(const struct path *path, int *flags, unsigned char *uuid) { struct inode *inode = d_inode(path->dentry); |
