mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02: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
|
|
@ -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…
Reference in New Issue
Block a user