switch ->create() to umode_t
vfs_create() ignores everything outside of 16bit subset of its
mode argument; switching it to umode_t is obviously equivalent
and it's the only caller of the method
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/security/capability.c b/security/capability.c
index ddd1789..ff18d0c 100644
--- a/security/capability.c
+++ b/security/capability.c
@@ -125,7 +125,7 @@
}
static int cap_inode_create(struct inode *inode, struct dentry *dentry,
- int mask)
+ umode_t mask)
{
return 0;
}