stop passing nameidata to ->lookup()
[firefly-linux-kernel-4.4.55.git] / fs / ext2 / namei.c
index f663a67d7bf0b92503d0ff8561d2886d0e2796e3..b3e6778cd1e70aaa3d7feec43075a31d0181fe42 100644 (file)
@@ -55,7 +55,7 @@ static inline int ext2_add_nondir(struct dentry *dentry, struct inode *inode)
  * Methods themselves.
  */
 
-static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, struct nameidata *nd)
+static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags)
 {
        struct inode * inode;
        ino_t ino;