Commit dd716e64 authored by Al Viro's avatar Al Viro

sysv: propagate umode_t

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 6a9a06d9
...@@ -132,7 +132,7 @@ void sysv_free_inode(struct inode * inode) ...@@ -132,7 +132,7 @@ void sysv_free_inode(struct inode * inode)
brelse(bh); brelse(bh);
} }
struct inode * sysv_new_inode(const struct inode * dir, mode_t mode) struct inode * sysv_new_inode(const struct inode * dir, umode_t mode)
{ {
struct super_block *sb = dir->i_sb; struct super_block *sb = dir->i_sb;
struct sysv_sb_info *sbi = SYSV_SB(sb); struct sysv_sb_info *sbi = SYSV_SB(sb);
......
...@@ -125,7 +125,7 @@ static inline void dirty_sb(struct super_block *sb) ...@@ -125,7 +125,7 @@ static inline void dirty_sb(struct super_block *sb)
/* ialloc.c */ /* ialloc.c */
extern struct sysv_inode *sysv_raw_inode(struct super_block *, unsigned, extern struct sysv_inode *sysv_raw_inode(struct super_block *, unsigned,
struct buffer_head **); struct buffer_head **);
extern struct inode * sysv_new_inode(const struct inode *, mode_t); extern struct inode * sysv_new_inode(const struct inode *, umode_t);
extern void sysv_free_inode(struct inode *); extern void sysv_free_inode(struct inode *);
extern unsigned long sysv_count_free_inodes(struct super_block *); extern unsigned long sysv_count_free_inodes(struct super_block *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment