aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/open.c b/fs/open.c
index b52cf013ffa1..739b751aa73e 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -793,7 +793,7 @@ out:
793 return nd->intent.open.file; 793 return nd->intent.open.file;
794out_err: 794out_err:
795 release_open_intent(nd); 795 release_open_intent(nd);
796 nd->intent.open.file = (struct file *)dentry; 796 nd->intent.open.file = ERR_CAST(dentry);
797 goto out; 797 goto out;
798} 798}
799EXPORT_SYMBOL_GPL(lookup_instantiate_filp); 799EXPORT_SYMBOL_GPL(lookup_instantiate_filp);