hfs: propagate umode_t
[firefly-linux-kernel-4.4.55.git] / fs / hfs / inode.c
index a1a9fdcd2a00b57b4473b81c5b37e6d7a5be886b..737dbeb64320744aa85f63e117298e6b33362618 100644 (file)
@@ -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);