switch ->create() to umode_t
[firefly-linux-kernel-4.4.55.git] / fs / ext2 / namei.c
index e3f3672b2020c0c67615d004a9ffa677ddb22606..cb759e661b151d3879e9ecb89b6cda9313578a18 100644 (file)
@@ -94,7 +94,7 @@ struct dentry *ext2_get_parent(struct dentry *child)
  * If the create succeeds, we fill in the inode information
  * with d_instantiate(). 
  */
-static int ext2_create (struct inode * dir, struct dentry * dentry, int mode, struct nameidata *nd)
+static int ext2_create (struct inode * dir, struct dentry * dentry, umode_t mode, struct nameidata *nd)
 {
        struct inode *inode;