switch ->create() to umode_t
[firefly-linux-kernel-4.4.55.git] / fs / bad_inode.c
index 5a2738c1f31534a974b0e087110c3e374b0d52d4..8087fbc35f4323022ce33b6f126ff9ded7dcb1a8 100644 (file)
@@ -173,7 +173,7 @@ static const struct file_operations bad_file_ops =
 };
 
 static int bad_inode_create (struct inode *dir, struct dentry *dentry,
-               int mode, struct nameidata *nd)
+               umode_t mode, struct nameidata *nd)
 {
        return -EIO;
 }