hfsplus: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e021d7b7fd
commit
c47da79851
@ -402,7 +402,7 @@ void hfsplus_inode_read_fork(struct inode *, struct hfsplus_fork_raw *);
|
||||
void hfsplus_inode_write_fork(struct inode *, struct hfsplus_fork_raw *);
|
||||
int hfsplus_cat_read_inode(struct inode *, struct hfs_find_data *);
|
||||
int hfsplus_cat_write_inode(struct inode *);
|
||||
struct inode *hfsplus_new_inode(struct super_block *, int);
|
||||
struct inode *hfsplus_new_inode(struct super_block *, umode_t);
|
||||
void hfsplus_delete_inode(struct inode *);
|
||||
int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end,
|
||||
int datasync);
|
||||
|
@ -378,7 +378,7 @@ static const struct file_operations hfsplus_file_operations = {
|
||||
.unlocked_ioctl = hfsplus_ioctl,
|
||||
};
|
||||
|
||||
struct inode *hfsplus_new_inode(struct super_block *sb, int mode)
|
||||
struct inode *hfsplus_new_inode(struct super_block *sb, umode_t mode)
|
||||
{
|
||||
struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb);
|
||||
struct inode *inode = new_inode(sb);
|
||||
|
Loading…
Reference in New Issue
Block a user