mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +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
|
@ -37,7 +37,7 @@ static int coda_link(struct dentry *old_dentry, struct inode *dir_inode,
|
|||
static int coda_unlink(struct inode *dir_inode, struct dentry *entry);
|
||||
static int coda_symlink(struct inode *dir_inode, struct dentry *entry,
|
||||
const char *symname);
|
||||
static int coda_mkdir(struct inode *dir_inode, struct dentry *entry, int mode);
|
||||
static int coda_mkdir(struct inode *dir_inode, struct dentry *entry, umode_t mode);
|
||||
static int coda_rmdir(struct inode *dir_inode, struct dentry *entry);
|
||||
static int coda_rename(struct inode *old_inode, struct dentry *old_dentry,
|
||||
struct inode *new_inode, struct dentry *new_dentry);
|
||||
|
@ -223,7 +223,7 @@ err_out:
|
|||
return error;
|
||||
}
|
||||
|
||||
static int coda_mkdir(struct inode *dir, struct dentry *de, int mode)
|
||||
static int coda_mkdir(struct inode *dir, struct dentry *de, umode_t mode)
|
||||
{
|
||||
struct inode *inode;
|
||||
struct coda_vattr attrs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue