Skip to content

Commit

Permalink
sysv: propagate umode_t
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jan 4, 2012
1 parent 6a9a06d commit dd716e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fs/sysv/ialloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ void sysv_free_inode(struct inode * inode)
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 sysv_sb_info *sbi = SYSV_SB(sb);
Expand Down
2 changes: 1 addition & 1 deletion fs/sysv/sysv.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ static inline void dirty_sb(struct super_block *sb)
/* ialloc.c */
extern struct sysv_inode *sysv_raw_inode(struct super_block *, unsigned,
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 unsigned long sysv_count_free_inodes(struct super_block *);

Expand Down

0 comments on commit dd716e6

Please sign in to comment.