diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 03:26:05 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:09 -0500 |
commit | e021d7b7fd364e0ad1b8d65af80995c72f321419 (patch) | |
tree | 74a1a639e7b8aac25bb8515c3efd9ceb8234da53 | |
parent | 5206efd62ce49cf5c7940d81c22bc556fc843de2 (diff) |
hfs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/hfs/hfs_fs.h | 2 | ||||
-rw-r--r-- | fs/hfs/inode.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/hfs/hfs_fs.h b/fs/hfs/hfs_fs.h index ad97c2d58287..1bf967c6bfdc 100644 --- a/fs/hfs/hfs_fs.h +++ b/fs/hfs/hfs_fs.h | |||
@@ -184,7 +184,7 @@ extern int hfs_get_block(struct inode *, sector_t, struct buffer_head *, int); | |||
184 | extern const struct address_space_operations hfs_aops; | 184 | extern const struct address_space_operations hfs_aops; |
185 | extern const struct address_space_operations hfs_btree_aops; | 185 | extern const struct address_space_operations hfs_btree_aops; |
186 | 186 | ||
187 | extern struct inode *hfs_new_inode(struct inode *, struct qstr *, int); | 187 | extern struct inode *hfs_new_inode(struct inode *, struct qstr *, umode_t); |
188 | extern void hfs_inode_write_fork(struct inode *, struct hfs_extent *, __be32 *, __be32 *); | 188 | extern void hfs_inode_write_fork(struct inode *, struct hfs_extent *, __be32 *, __be32 *); |
189 | extern int hfs_write_inode(struct inode *, struct writeback_control *); | 189 | extern int hfs_write_inode(struct inode *, struct writeback_control *); |
190 | extern int hfs_inode_setattr(struct dentry *, struct iattr *); | 190 | extern int hfs_inode_setattr(struct dentry *, struct iattr *); |
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c index a1a9fdcd2a00..737dbeb64320 100644 --- a/fs/hfs/inode.c +++ b/fs/hfs/inode.c | |||
@@ -169,7 +169,7 @@ const struct address_space_operations hfs_aops = { | |||
169 | /* | 169 | /* |
170 | * hfs_new_inode | 170 | * hfs_new_inode |
171 | */ | 171 | */ |
172 | struct inode *hfs_new_inode(struct inode *dir, struct qstr *name, int mode) | 172 | struct inode *hfs_new_inode(struct inode *dir, struct qstr *name, umode_t mode) |
173 | { | 173 | { |
174 | struct super_block *sb = dir->i_sb; | 174 | struct super_block *sb = dir->i_sb; |
175 | struct inode *inode = new_inode(sb); | 175 | struct inode *inode = new_inode(sb); |