mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
exfat: don't pass nameidata to ->create() / stop passing nameidata to ->lookup()
This commit is contained in:
parent
db77a3c64d
commit
997eab3f62
1 changed files with 2 additions and 2 deletions
|
@ -506,7 +506,7 @@ static int exfat_create(struct inode *dir, struct dentry *dentry, umode_t mode,
|
||||||
bool excl)
|
bool excl)
|
||||||
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,00)
|
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,00)
|
||||||
static int exfat_create(struct inode *dir, struct dentry *dentry, umode_t mode,
|
static int exfat_create(struct inode *dir, struct dentry *dentry, umode_t mode,
|
||||||
struct nameidata *nd)
|
bool excl)
|
||||||
#else
|
#else
|
||||||
static int exfat_create(struct inode *dir, struct dentry *dentry, int mode,
|
static int exfat_create(struct inode *dir, struct dentry *dentry, int mode,
|
||||||
struct nameidata *nd)
|
struct nameidata *nd)
|
||||||
|
@ -591,7 +591,7 @@ static struct dentry *exfat_lookup(struct inode *dir, struct dentry *dentry,
|
||||||
unsigned int flags)
|
unsigned int flags)
|
||||||
#else
|
#else
|
||||||
static struct dentry *exfat_lookup(struct inode *dir, struct dentry *dentry,
|
static struct dentry *exfat_lookup(struct inode *dir, struct dentry *dentry,
|
||||||
struct nameidata *nd)
|
unsigned int flags)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
struct super_block *sb = dir->i_sb;
|
struct super_block *sb = dir->i_sb;
|
||||||
|
|
Loading…
Reference in a new issue