don't pass nameidata to ->create()
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / hfsplus / dir.c
index 26b53fb09f684404b2c488057f13c08ec8b2c0e2..378ea0c43f19e53ee67173c4dd01e975937d4798 100644 (file)
@@ -25,7 +25,7 @@ static inline void hfsplus_instantiate(struct dentry *dentry,
 
 /* Find the entry inside dir named dentry->d_name */
 static struct dentry *hfsplus_lookup(struct inode *dir, struct dentry *dentry,
-                                    struct nameidata *nd)
+                                    unsigned int flags)
 {
        struct inode *inode = NULL;
        struct hfs_find_data fd;
@@ -465,7 +465,7 @@ out:
 }
 
 static int hfsplus_create(struct inode *dir, struct dentry *dentry, umode_t mode,
-                         struct nameidata *nd)
+                         bool excl)
 {
        return hfsplus_mknod(dir, dentry, mode, 0);
 }