diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 03:26:51 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:10 -0500 |
commit | c47da79851d5f8629c6715e681315dd8e0a3d7d8 (patch) | |
tree | 6e2d60f888d4939819bf03c51c57a47a2487e896 /fs/hfsplus | |
parent | e021d7b7fd364e0ad1b8d65af80995c72f321419 (diff) |
hfsplus: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hfsplus')
-rw-r--r-- | fs/hfsplus/hfsplus_fs.h | 2 | ||||
-rw-r--r-- | fs/hfsplus/inode.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/hfsplus/hfsplus_fs.h b/fs/hfsplus/hfsplus_fs.h index d7674d051f52..3a6c025414e2 100644 --- a/fs/hfsplus/hfsplus_fs.h +++ b/fs/hfsplus/hfsplus_fs.h | |||
@@ -402,7 +402,7 @@ void hfsplus_inode_read_fork(struct inode *, struct hfsplus_fork_raw *); | |||
402 | void hfsplus_inode_write_fork(struct inode *, struct hfsplus_fork_raw *); | 402 | void hfsplus_inode_write_fork(struct inode *, struct hfsplus_fork_raw *); |
403 | int hfsplus_cat_read_inode(struct inode *, struct hfs_find_data *); | 403 | int hfsplus_cat_read_inode(struct inode *, struct hfs_find_data *); |
404 | int hfsplus_cat_write_inode(struct inode *); | 404 | int hfsplus_cat_write_inode(struct inode *); |
405 | struct inode *hfsplus_new_inode(struct super_block *, int); | 405 | struct inode *hfsplus_new_inode(struct super_block *, umode_t); |
406 | void hfsplus_delete_inode(struct inode *); | 406 | void hfsplus_delete_inode(struct inode *); |
407 | int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, | 407 | int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, |
408 | int datasync); | 408 | int datasync); |
diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c index 40e1413be4cf..6643b242bdd7 100644 --- a/fs/hfsplus/inode.c +++ b/fs/hfsplus/inode.c | |||
@@ -378,7 +378,7 @@ static const struct file_operations hfsplus_file_operations = { | |||
378 | .unlocked_ioctl = hfsplus_ioctl, | 378 | .unlocked_ioctl = hfsplus_ioctl, |
379 | }; | 379 | }; |
380 | 380 | ||
381 | struct inode *hfsplus_new_inode(struct super_block *sb, int mode) | 381 | struct inode *hfsplus_new_inode(struct super_block *sb, umode_t mode) |
382 | { | 382 | { |
383 | struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb); | 383 | struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb); |
384 | struct inode *inode = new_inode(sb); | 384 | struct inode *inode = new_inode(sb); |