Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322463
b: refs/heads/master
c: ea7b488
h: refs/heads/master
i:
  322461: 2276fb7
  322459: c5f77a0
  322455: a566cc5
  322447: e0bd845
  322431: 737755d
v: v3
  • Loading branch information
Pavel Shilovsky authored and Steve French committed Aug 20, 2012
1 parent 374efa8 commit f202676
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 985e4ff016b5f3d95c12fe8073d1df89300dab3d
refs/heads/master: ea7b4887e7266b93fa0c203cc452a926a0fef4f0
9 changes: 1 addition & 8 deletions trunk/fs/cifs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,19 +356,12 @@ cifs_do_create(struct inode *inode, struct dentry *direntry, unsigned int xid,
cifs_create_set_dentry:
if (rc != 0) {
cFYI(1, "Create worked, get_inode_info failed rc = %d", rc);
CIFSSMBClose(xid, tcon, *fileHandle);
goto out;
}
d_drop(direntry);
d_add(direntry, newinode);

/* ENOENT for create? How weird... */
rc = -ENOENT;
if (!newinode) {
CIFSSMBClose(xid, tcon, *fileHandle);
goto out;
}
rc = 0;

out:
kfree(buf);
kfree(full_path);
Expand Down

0 comments on commit f202676

Please sign in to comment.