From 997eab3f62b4d73986e19878678d95da2c0e9587 Mon Sep 17 00:00:00 2001 From: followmsi Date: Mon, 5 Oct 2020 12:24:49 +0200 Subject: [PATCH] exfat: don't pass nameidata to ->create() / stop passing nameidata to ->lookup() --- fs/exfat/exfat_super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/exfat/exfat_super.c b/fs/exfat/exfat_super.c index 6524508739ba..bc98f156eaa2 100644 --- a/fs/exfat/exfat_super.c +++ b/fs/exfat/exfat_super.c @@ -506,7 +506,7 @@ static int exfat_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) #elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,00) static int exfat_create(struct inode *dir, struct dentry *dentry, umode_t mode, - struct nameidata *nd) + bool excl) #else static int exfat_create(struct inode *dir, struct dentry *dentry, int mode, struct nameidata *nd) @@ -591,7 +591,7 @@ static struct dentry *exfat_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) #else static struct dentry *exfat_lookup(struct inode *dir, struct dentry *dentry, - struct nameidata *nd) + unsigned int flags) #endif { struct super_block *sb = dir->i_sb;