diff options
Diffstat (limited to 'fs/ramfs/inode.c')
-rw-r--r-- | fs/ramfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c index 462ceb38fec6..61972bee0561 100644 --- a/fs/ramfs/inode.c +++ b/fs/ramfs/inode.c | |||
@@ -106,7 +106,7 @@ ramfs_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev) | |||
106 | return error; | 106 | return error; |
107 | } | 107 | } |
108 | 108 | ||
109 | static int ramfs_mkdir(struct inode * dir, struct dentry * dentry, int mode) | 109 | static int ramfs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) |
110 | { | 110 | { |
111 | int retval = ramfs_mknod(dir, dentry, mode | S_IFDIR, 0); | 111 | int retval = ramfs_mknod(dir, dentry, mode | S_IFDIR, 0); |
112 | if (!retval) | 112 | if (!retval) |