summaryrefslogtreecommitdiff
path: root/fs/autofs4/expire.c
diff options
context:
space:
mode:
authorIan Kent <ikent@redhat.com>2016-11-28 05:11:59 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2016-12-04 04:51:50 +0300
commit455e8f1030de82b68ee4e82f71516f3692f5e626 (patch)
tree896bf6c71fd299dc4979dc0672913af90ab98581 /fs/autofs4/expire.c
parentf74e7b33c37e5a7bae33bb73858c2766cb256626 (diff)
downloadlinux-455e8f1030de82b68ee4e82f71516f3692f5e626.tar.xz
autofs - constify misc struct path instances
Signed-off-by: Ian Kent <raven@themaw.net> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Omar Sandoval <osandov@osandov.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/autofs4/expire.c')
-rw-r--r--fs/autofs4/expire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs4/expire.c b/fs/autofs4/expire.c
index 9c352da24444..13178bf2c431 100644
--- a/fs/autofs4/expire.c
+++ b/fs/autofs4/expire.c
@@ -593,7 +593,7 @@ int autofs4_do_expire_multi(struct super_block *sb, struct vfsmount *mnt,
if (dentry) {
struct autofs_info *ino = autofs4_dentry_ino(dentry);
- struct path path = { .mnt = mnt, .dentry = dentry };
+ const struct path path = { .mnt = mnt, .dentry = dentry };
/* This is synchronous because it makes the daemon a
* little easier