Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ext3: propagate umode_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 69b34f3a 3ea40bc9

+2 -2
+1 -1
fs/ext3/ialloc.c
··· 371 371 * group to find a free inode. 372 372 */ 373 373 struct inode *ext3_new_inode(handle_t *handle, struct inode * dir, 374 - const struct qstr *qstr, int mode) 374 + const struct qstr *qstr, umode_t mode) 375 375 { 376 376 struct super_block *sb; 377 377 struct buffer_head *bitmap_bh = NULL;
+1 -1
include/linux/ext3_fs.h
··· 884 884 885 885 /* ialloc.c */ 886 886 extern struct inode * ext3_new_inode (handle_t *, struct inode *, 887 - const struct qstr *, int); 887 + const struct qstr *, umode_t); 888 888 extern void ext3_free_inode (handle_t *, struct inode *); 889 889 extern struct inode * ext3_orphan_get (struct super_block *, unsigned long); 890 890 extern unsigned long ext3_count_free_inodes (struct super_block *);