You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
stop passing nameidata * to ->d_revalidate()
Just the lookup flags. Die, bastard, die... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
+2
-2
@@ -303,12 +303,12 @@ static int sysfs_dentry_delete(const struct dentry *dentry)
|
||||
return !!(sd->s_flags & SYSFS_FLAG_REMOVED);
|
||||
}
|
||||
|
||||
static int sysfs_dentry_revalidate(struct dentry *dentry, struct nameidata *nd)
|
||||
static int sysfs_dentry_revalidate(struct dentry *dentry, unsigned int flags)
|
||||
{
|
||||
struct sysfs_dirent *sd;
|
||||
int is_dir;
|
||||
|
||||
if (nd->flags & LOOKUP_RCU)
|
||||
if (flags & LOOKUP_RCU)
|
||||
return -ECHILD;
|
||||
|
||||
sd = dentry->d_fsdata;
|
||||
|
||||
Reference in New Issue
Block a user