summaryrefslogtreecommitdiffstats
path: root/fs/omfs/dir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-25 04:58:10 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 04:55:01 +0100
commit587228be4a43c28c402c1cc8a5f185252d8e2231 (patch)
treec0708154e24c91b57581e8b596214f5254485f7b /fs/omfs/dir.c
parentreiserfs: propagate umode_t (diff)
downloadlinux-587228be4a43c28c402c1cc8a5f185252d8e2231.tar.xz
linux-587228be4a43c28c402c1cc8a5f185252d8e2231.zip
omfs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/omfs/dir.c')
-rw-r--r--fs/omfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/omfs/dir.c b/fs/omfs/dir.c
index d82599f49f6d..f00576ec320f 100644
--- a/fs/omfs/dir.c
+++ b/fs/omfs/dir.c
@@ -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);