Loading fs/fat/namei_vfat.c +2 −2 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ static int vfat_revalidate_shortname(struct dentry *dentry) static int vfat_revalidate(struct dentry *dentry, struct nameidata *nd) { if (nd->flags & LOOKUP_RCU) if (nd && nd->flags & LOOKUP_RCU) return -ECHILD; /* This is not negative dentry. Always valid. */ Loading @@ -54,7 +54,7 @@ static int vfat_revalidate(struct dentry *dentry, struct nameidata *nd) static int vfat_revalidate_ci(struct dentry *dentry, struct nameidata *nd) { if (nd->flags & LOOKUP_RCU) if (nd && nd->flags & LOOKUP_RCU) return -ECHILD; /* Loading Loading
fs/fat/namei_vfat.c +2 −2 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ static int vfat_revalidate_shortname(struct dentry *dentry) static int vfat_revalidate(struct dentry *dentry, struct nameidata *nd) { if (nd->flags & LOOKUP_RCU) if (nd && nd->flags & LOOKUP_RCU) return -ECHILD; /* This is not negative dentry. Always valid. */ Loading @@ -54,7 +54,7 @@ static int vfat_revalidate(struct dentry *dentry, struct nameidata *nd) static int vfat_revalidate_ci(struct dentry *dentry, struct nameidata *nd) { if (nd->flags & LOOKUP_RCU) if (nd && nd->flags & LOOKUP_RCU) return -ECHILD; /* Loading