VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Al Viro <viro@zeniv.linux.org.uk> 2020-03-12 18:25:20 -0400 committer: Al Viro <viro@zeniv.linux.org.uk> 2020-03-12 18:25:20 -0400 commit: d9a9f4849fe0c9d560851ab22a85a666cddfdd24 parent: 21039132650281de06a169cbe8a0f7e5c578fd8b
Commit Summary:
cifs_atomic_open(): fix double-put on late allocation failure
Diffstat:
1 file changed, 0 insertions, 3 deletions
diff --git a/fs/open.c b/fs/open.c
index 0788b3715731..b69d6eed67e6 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -860,9 +860,6 @@ cleanup_file:
  * the return value of d_splice_alias(), then the caller needs to perform dput()
  * on it after finish_open().
  *
- * On successful return @file is a fully instantiated open file.  After this, if
- * an error occurs in ->atomic_open(), it needs to clean up with fput().
- *
  * Returns zero on success or -errno if the open failed.
  */
 int finish_open(struct file *file, struct dentry *dentry,