sysv: propagate umode_t
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Jul 2011 06:49:38 +0000 (02:49 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Jan 2012 03:55:00 +0000 (22:55 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/sysv/ialloc.c
fs/sysv/sysv.h

index 0c96c98bd1db25b44b3f2279dcc5a1c35ed93ecb..8233b02eccaebc1eb7b60f2db3b66fad3fe939e2 100644 (file)
@@ -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);
index bb55cdb394bfae0e39a035f3be5b9bb3eea1363a..0e4b821c5691a1fefc0ef112ea506d45f9f11329 100644 (file)
@@ -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 *);
 
This page took 0.025928 seconds and 5 git commands to generate.