diff options
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/dir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index d3e2eaa503a6..5384c2a640ca 100644 --- a/fs/cifs/dir.c +++ b/fs/cifs/dir.c | |||
@@ -500,6 +500,7 @@ cifs_atomic_open(struct inode *inode, struct dentry *direntry, | |||
500 | if (server->ops->close) | 500 | if (server->ops->close) |
501 | server->ops->close(xid, tcon, &fid); | 501 | server->ops->close(xid, tcon, &fid); |
502 | cifs_del_pending_open(&open); | 502 | cifs_del_pending_open(&open); |
503 | fput(file); | ||
503 | rc = -ENOMEM; | 504 | rc = -ENOMEM; |
504 | } | 505 | } |
505 | 506 | ||