don't pass nameidata to ->create()
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / bad_inode.c
index 1b35d6bd06b06d071f8b24e28ece1aa97d87d1ce..b1342ffb3cf6e595125252ac82d5bd54ebbe9544 100644 (file)
@@ -173,13 +173,13 @@ static const struct file_operations bad_file_ops =
 };
 
 static int bad_inode_create (struct inode *dir, struct dentry *dentry,
-               umode_t mode, struct nameidata *nd)
+               umode_t mode, bool excl)
 {
        return -EIO;
 }
 
 static struct dentry *bad_inode_lookup(struct inode *dir,
-                       struct dentry *dentry, struct nameidata *nd)
+                       struct dentry *dentry, unsigned int flags)
 {
        return ERR_PTR(-EIO);
 }