]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/ecryptfs/inode.c
don't pass nameidata to ->create()
[mirror_ubuntu-bionic-kernel.git] / fs / ecryptfs / inode.c
index 4ab50c3f5ab26b2c26dcc350e72cb15e022e664f..f079dafea75af0c09c992415ccd8a96cf3d55579 100644 (file)
@@ -240,7 +240,6 @@ out:
  * @dir: The inode of the directory in which to create the file.
  * @dentry: The eCryptfs dentry
  * @mode: The mode of the new file.
- * @nd: nameidata
  *
  * Creates a new file.
  *
@@ -248,7 +247,7 @@ out:
  */
 static int
 ecryptfs_create(struct inode *directory_inode, struct dentry *ecryptfs_dentry,
-               umode_t mode, struct nameidata *nd)
+               umode_t mode, bool excl)
 {
        struct inode *ecryptfs_inode;
        int rc;