diff options
Diffstat (limited to 'fs/omfs')
-rw-r--r-- | fs/omfs/dir.c | 2 | ||||
-rw-r--r-- | fs/omfs/inode.c | 2 | ||||
-rw-r--r-- | fs/omfs/omfs.h | 2 |
3 files changed, 3 insertions, 3 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) | |||
255 | return 0; | 255 | return 0; |
256 | } | 256 | } |
257 | 257 | ||
258 | static int omfs_add_node(struct inode *dir, struct dentry *dentry, int mode) | 258 | static int omfs_add_node(struct inode *dir, struct dentry *dentry, umode_t mode) |
259 | { | 259 | { |
260 | int err; | 260 | int err; |
261 | struct inode *inode = omfs_new_inode(dir, mode); | 261 | struct inode *inode = omfs_new_inode(dir, mode); |
diff --git a/fs/omfs/inode.c b/fs/omfs/inode.c index e043c4cb9a97..6065bb0ba207 100644 --- a/fs/omfs/inode.c +++ b/fs/omfs/inode.c | |||
@@ -28,7 +28,7 @@ struct buffer_head *omfs_bread(struct super_block *sb, sector_t block) | |||
28 | return sb_bread(sb, clus_to_blk(sbi, block)); | 28 | return sb_bread(sb, clus_to_blk(sbi, block)); |
29 | } | 29 | } |
30 | 30 | ||
31 | struct inode *omfs_new_inode(struct inode *dir, int mode) | 31 | struct inode *omfs_new_inode(struct inode *dir, umode_t mode) |
32 | { | 32 | { |
33 | struct inode *inode; | 33 | struct inode *inode; |
34 | u64 new_block; | 34 | u64 new_block; |
diff --git a/fs/omfs/omfs.h b/fs/omfs/omfs.h index 7d414fef501a..8941f12c6b01 100644 --- a/fs/omfs/omfs.h +++ b/fs/omfs/omfs.h | |||
@@ -60,7 +60,7 @@ extern int omfs_shrink_inode(struct inode *inode); | |||
60 | /* inode.c */ | 60 | /* inode.c */ |
61 | extern struct buffer_head *omfs_bread(struct super_block *sb, sector_t block); | 61 | extern struct buffer_head *omfs_bread(struct super_block *sb, sector_t block); |
62 | extern struct inode *omfs_iget(struct super_block *sb, ino_t inode); | 62 | extern struct inode *omfs_iget(struct super_block *sb, ino_t inode); |
63 | extern struct inode *omfs_new_inode(struct inode *dir, int mode); | 63 | extern struct inode *omfs_new_inode(struct inode *dir, umode_t mode); |
64 | extern int omfs_reserve_block(struct super_block *sb, sector_t block); | 64 | extern int omfs_reserve_block(struct super_block *sb, sector_t block); |
65 | extern int omfs_find_empty_block(struct super_block *sb, int mode, ino_t *ino); | 65 | extern int omfs_find_empty_block(struct super_block *sb, int mode, ino_t *ino); |
66 | extern int omfs_sync_inode(struct inode *inode); | 66 | extern int omfs_sync_inode(struct inode *inode); |