Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24989
b: refs/heads/master
c: 6910ab3
h: refs/heads/master
i:
  24987: 05ce5d0
v: v3
  • Loading branch information
Steve French committed Mar 31, 2006
1 parent 9314b2d commit b273418
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: d62e54abca1146981fc9f98f85ff398a113a22c2
refs/heads/master: 6910ab30a29d10e0fec7710b2ed857a2201e2468
5 changes: 4 additions & 1 deletion trunk/fs/cifs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,10 @@ int cifs_unlink(struct inode *inode, struct dentry *direntry)

xid = GetXid();

cifs_sb = CIFS_SB(inode->i_sb);
if(inode)
cifs_sb = CIFS_SB(inode->i_sb);
else
cifs_sb = CIFS_SB(dentry->d_sb);
pTcon = cifs_sb->tcon;

/* Unlink can be called from rename so we can not grab the sem here
Expand Down

0 comments on commit b273418

Please sign in to comment.