|
@@ -793,7 +793,7 @@ struct file *lookup_instantiate_filp(struct nameidata *nd, struct dentry *dentry
|
|
|
return nd->intent.open.file;
|
|
return nd->intent.open.file;
|
|
|
out_err:
|
|
out_err:
|
|
|
release_open_intent(nd);
|
|
release_open_intent(nd);
|
|
|
- nd->intent.open.file = (struct file *)dentry;
|
|
|
|
|
|
|
+ nd->intent.open.file = ERR_CAST(dentry);
|
|
|
goto out;
|
|
goto out;
|
|
|
}
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(lookup_instantiate_filp);
|
|
EXPORT_SYMBOL_GPL(lookup_instantiate_filp);
|