diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-03-12 15:51:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-03-12 15:51:26 -0700 |
commit | 807f030b44ccbb26a346df6f6438628315d9ad98 (patch) | |
tree | 5c5bf61456bf8f6649fab5e60e8ef0e8985a713a /fs/open.c | |
parent | 3cc6e2c599cdca573a8f347aea5da4c855ff5a78 (diff) | |
parent | d9a9f4849fe0c9d560851ab22a85a666cddfdd24 (diff) |
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs fixes from Al Viro:
"A couple of fixes for old crap in ->atomic_open() instances"
* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
cifs_atomic_open(): fix double-put on late allocation failure
gfs2_atomic_open(): fix O_EXCL|O_CREAT handling on cold dcache
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/open.c b/fs/open.c index 0788b37157311..b69d6eed67e6a 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, |