hfs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Родитель
5206efd62c
Коммит
e021d7b7fd
|
@ -184,7 +184,7 @@ extern int hfs_get_block(struct inode *, sector_t, struct buffer_head *, int);
|
|||
extern const struct address_space_operations hfs_aops;
|
||||
extern const struct address_space_operations hfs_btree_aops;
|
||||
|
||||
extern struct inode *hfs_new_inode(struct inode *, struct qstr *, int);
|
||||
extern struct inode *hfs_new_inode(struct inode *, struct qstr *, umode_t);
|
||||
extern void hfs_inode_write_fork(struct inode *, struct hfs_extent *, __be32 *, __be32 *);
|
||||
extern int hfs_write_inode(struct inode *, struct writeback_control *);
|
||||
extern int hfs_inode_setattr(struct dentry *, struct iattr *);
|
||||
|
|
|
@ -169,7 +169,7 @@ const struct address_space_operations hfs_aops = {
|
|||
/*
|
||||
* hfs_new_inode
|
||||
*/
|
||||
struct inode *hfs_new_inode(struct inode *dir, struct qstr *name, int mode)
|
||||
struct inode *hfs_new_inode(struct inode *dir, struct qstr *name, umode_t mode)
|
||||
{
|
||||
struct super_block *sb = dir->i_sb;
|
||||
struct inode *inode = new_inode(sb);
|
||||
|
|
Загрузка…
Ссылка в новой задаче