Skip to content

Commit 72c1118

Browse files
author
Al Viro
committed
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>
1 parent 2930afe commit 72c1118

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/nfsd/export.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ static struct svc_export *svc_export_update(struct svc_export *new,
402402
struct svc_export *old);
403403
static struct svc_export *svc_export_lookup(struct svc_export *);
404404

405-
static int check_export(struct path *path, int *flags, unsigned char *uuid)
405+
static int check_export(const struct path *path, int *flags, unsigned char *uuid)
406406
{
407407
struct inode *inode = d_inode(path->dentry);
408408

0 commit comments

Comments
 (0)