diff options
Diffstat (limited to 'fs/hfs/dir.c')
-rw-r--r-- | fs/hfs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hfs/dir.c b/fs/hfs/dir.c index bce4eef91a06..62fc14ea4b73 100644 --- a/fs/hfs/dir.c +++ b/fs/hfs/dir.c | |||
@@ -186,7 +186,7 @@ static int hfs_dir_release(struct inode *inode, struct file *file) | |||
186 | * a directory and return a corresponding inode, given the inode for | 186 | * a directory and return a corresponding inode, given the inode for |
187 | * the directory and the name (and its length) of the new file. | 187 | * the directory and the name (and its length) of the new file. |
188 | */ | 188 | */ |
189 | static int hfs_create(struct inode *dir, struct dentry *dentry, int mode, | 189 | static int hfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, |
190 | struct nameidata *nd) | 190 | struct nameidata *nd) |
191 | { | 191 | { |
192 | struct inode *inode; | 192 | struct inode *inode; |
@@ -216,7 +216,7 @@ static int hfs_create(struct inode *dir, struct dentry *dentry, int mode, | |||
216 | * in a directory, given the inode for the parent directory and the | 216 | * in a directory, given the inode for the parent directory and the |
217 | * name (and its length) of the new directory. | 217 | * name (and its length) of the new directory. |
218 | */ | 218 | */ |
219 | static int hfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) | 219 | static int hfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) |
220 | { | 220 | { |
221 | struct inode *inode; | 221 | struct inode *inode; |
222 | int res; | 222 | int res; |