summaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-03-25 15:31:19 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-03-28 00:47:52 -0400
commit3b73b68c05db0b3c9b282c6e8e6eb71acc589a02 (patch)
tree3476c56eee92926db102949296804aa192a2c249 /security/security.c
parent77b286c0d26a5399912f5affd90ed73e2d8b42a5 (diff)
downloadop-kernel-dev-3b73b68c05db0b3c9b282c6e8e6eb71acc589a02.zip
op-kernel-dev-3b73b68c05db0b3c9b282c6e8e6eb71acc589a02.tar.gz
constify security_sb_pivotroot()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/security.c')
-rw-r--r--security/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/security.c b/security/security.c
index cf6f31d..f7af0aa 100644
--- a/security/security.c
+++ b/security/security.c
@@ -313,7 +313,7 @@ int security_sb_umount(struct vfsmount *mnt, int flags)
return call_int_hook(sb_umount, 0, mnt, flags);
}
-int security_sb_pivotroot(struct path *old_path, struct path *new_path)
+int security_sb_pivotroot(const struct path *old_path, const struct path *new_path)
{
return call_int_hook(sb_pivotroot, 0, old_path, new_path);
}
OpenPOWER on IntegriCloud