diff options
-rw-r--r-- | fs/minix/bitmap.c | 2 | ||||
-rw-r--r-- | fs/minix/minix.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/minix/bitmap.c b/fs/minix/bitmap.c index ef175cb8cfd8..4bc50dac8e97 100644 --- a/fs/minix/bitmap.c +++ b/fs/minix/bitmap.c | |||
@@ -209,7 +209,7 @@ void minix_free_inode(struct inode * inode) | |||
209 | mark_buffer_dirty(bh); | 209 | mark_buffer_dirty(bh); |
210 | } | 210 | } |
211 | 211 | ||
212 | struct inode *minix_new_inode(const struct inode *dir, int mode, int *error) | 212 | struct inode *minix_new_inode(const struct inode *dir, umode_t mode, int *error) |
213 | { | 213 | { |
214 | struct super_block *sb = dir->i_sb; | 214 | struct super_block *sb = dir->i_sb; |
215 | struct minix_sb_info *sbi = minix_sb(sb); | 215 | struct minix_sb_info *sbi = minix_sb(sb); |
diff --git a/fs/minix/minix.h b/fs/minix/minix.h index 26bbd55e82ea..c889ef0aa571 100644 --- a/fs/minix/minix.h +++ b/fs/minix/minix.h | |||
@@ -46,7 +46,7 @@ struct minix_sb_info { | |||
46 | extern struct inode *minix_iget(struct super_block *, unsigned long); | 46 | extern struct inode *minix_iget(struct super_block *, unsigned long); |
47 | extern struct minix_inode * minix_V1_raw_inode(struct super_block *, ino_t, struct buffer_head **); | 47 | extern struct minix_inode * minix_V1_raw_inode(struct super_block *, ino_t, struct buffer_head **); |
48 | extern struct minix2_inode * minix_V2_raw_inode(struct super_block *, ino_t, struct buffer_head **); | 48 | extern struct minix2_inode * minix_V2_raw_inode(struct super_block *, ino_t, struct buffer_head **); |
49 | extern struct inode * minix_new_inode(const struct inode *, int, int *); | 49 | extern struct inode * minix_new_inode(const struct inode *, umode_t, int *); |
50 | extern void minix_free_inode(struct inode * inode); | 50 | extern void minix_free_inode(struct inode * inode); |
51 | extern unsigned long minix_count_free_inodes(struct super_block *sb); | 51 | extern unsigned long minix_count_free_inodes(struct super_block *sb); |
52 | extern int minix_new_block(struct inode * inode); | 52 | extern int minix_new_block(struct inode * inode); |