Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209999
b: refs/heads/master
c: 232341b
h: refs/heads/master
i:
  209997: a04d999
  209995: 0b30d2a
  209991: e591017
  209983: 074cf67
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Aug 16, 2010
1 parent 9cd666d commit dcefd47
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 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: 5d9ac7fd32f600f9451ea58abdb07f7ed42e921d
refs/heads/master: 232341ba7fa15115d40f6aa0f8dd14e96e3ad375
8 changes: 3 additions & 5 deletions trunk/fs/cifs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,7 @@ cifs_create(struct inode *inode, struct dentry *direntry, int mode,
full_path = build_path_from_dentry(direntry);
if (full_path == NULL) {
rc = -ENOMEM;
FreeXid(xid);
return rc;
goto cifs_create_out;
}

if (oplockEnabled)
Expand Down Expand Up @@ -365,9 +364,8 @@ cifs_create(struct inode *inode, struct dentry *direntry, int mode,

buf = kmalloc(sizeof(FILE_ALL_INFO), GFP_KERNEL);
if (buf == NULL) {
kfree(full_path);
FreeXid(xid);
return -ENOMEM;
rc = -ENOMEM;
goto cifs_create_out;
}

/*
Expand Down
3 changes: 1 addition & 2 deletions trunk/fs/cifs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,7 @@ int cifs_open(struct inode *inode, struct file *file)
full_path = build_path_from_dentry(file->f_path.dentry);
if (full_path == NULL) {
rc = -ENOMEM;
FreeXid(xid);
return rc;
goto out;
}

cFYI(1, "inode = 0x%p file flags are 0x%x for %s",
Expand Down

0 comments on commit dcefd47

Please sign in to comment.