diff options
author | Ian Kent <ikent@redhat.com> | 2016-11-27 21:11:59 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-03 20:51:50 -0500 |
commit | 455e8f1030de82b68ee4e82f71516f3692f5e626 (patch) | |
tree | 896bf6c71fd299dc4979dc0672913af90ab98581 /fs/autofs4/root.c | |
parent | f74e7b33c37e5a7bae33bb73858c2766cb256626 (diff) |
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/root.c')
-rw-r--r-- | fs/autofs4/root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index ce4e6216a5f0..82e8f6edfb48 100644 --- a/fs/autofs4/root.c +++ b/fs/autofs4/root.c | |||
@@ -297,7 +297,7 @@ static int do_expire_wait(const struct path *path, bool rcu_walk) | |||
297 | if (!expiring) | 297 | if (!expiring) |
298 | return autofs4_expire_wait(path, rcu_walk); | 298 | return autofs4_expire_wait(path, rcu_walk); |
299 | else { | 299 | else { |
300 | struct path this = { .mnt = path->mnt, .dentry = expiring }; | 300 | const struct path this = { .mnt = path->mnt, .dentry = expiring }; |
301 | /* | 301 | /* |
302 | * If we are racing with expire the request might not | 302 | * If we are racing with expire the request might not |
303 | * be quite complete, but the directory has been removed | 303 | * be quite complete, but the directory has been removed |