mirror of
https://github.com/torvalds/linux.git
synced 2026-03-13 22:36:17 +01:00
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>
This commit is contained in:
parent
2930afe2c9
commit
72c1118d32
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue