omfs: propagate umode_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2011-07-24 22:58:10 -04:00
parent 8e0718924e
commit 587228be4a
3 changed files with 3 additions and 3 deletions

View File

@@ -255,7 +255,7 @@ static int omfs_remove(struct inode *dir, struct dentry *dentry)
return 0;
}
static int omfs_add_node(struct inode *dir, struct dentry *dentry, int mode)
static int omfs_add_node(struct inode *dir, struct dentry *dentry, umode_t mode)
{
int err;
struct inode *inode = omfs_new_inode(dir, mode);