summaryrefslogtreecommitdiff
path: root/security/capability.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 04:25:58 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:55:13 -0500
commit910f4ecef3f67714ebff69d0bc34313e48afaed2 (patch)
tree348fe3b5d8789a4c019a700da5501a4756f988de /security/capability.c
parent49f0a0767211d3076974e59a26f36b567cbe8621 (diff)
downloadlwn-910f4ecef3f67714ebff69d0bc34313e48afaed2.tar.gz
lwn-910f4ecef3f67714ebff69d0bc34313e48afaed2.zip
switch security_path_chmod() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/capability.c')
-rw-r--r--security/capability.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/capability.c b/security/capability.c
index 9def035cd572..4f24bee49f26 100644
--- a/security/capability.c
+++ b/security/capability.c
@@ -280,7 +280,7 @@ static int cap_path_truncate(struct path *path)
}
static int cap_path_chmod(struct dentry *dentry, struct vfsmount *mnt,
- mode_t mode)
+ umode_t mode)
{
return 0;
}