mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
switch vfs_mkdir() and ->mkdir() to umode_t
vfs_mkdir() gets int, but immediately drops everything that might not fit into umode_t and that's the only caller of ->mkdir()... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
8208a22bb8
commit
18bb1db3e7
56 changed files with 70 additions and 70 deletions
|
@ -760,7 +760,7 @@ EXPORT_SYMBOL_GPL(cgroup_unlock);
|
|||
* -> cgroup_mkdir.
|
||||
*/
|
||||
|
||||
static int cgroup_mkdir(struct inode *dir, struct dentry *dentry, int mode);
|
||||
static int cgroup_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode);
|
||||
static struct dentry *cgroup_lookup(struct inode *, struct dentry *, struct nameidata *);
|
||||
static int cgroup_rmdir(struct inode *unused_dir, struct dentry *dentry);
|
||||
static int cgroup_populate_dir(struct cgroup *cgrp);
|
||||
|
@ -3846,7 +3846,7 @@ static long cgroup_create(struct cgroup *parent, struct dentry *dentry,
|
|||
return err;
|
||||
}
|
||||
|
||||
static int cgroup_mkdir(struct inode *dir, struct dentry *dentry, int mode)
|
||||
static int cgroup_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
|
||||
{
|
||||
struct cgroup *c_parent = dentry->d_parent->d_fsdata;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue