Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252720
b: refs/heads/master
c: 7ce605d
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil authored and Al Viro committed May 28, 2011
1 parent 1f1ec06 commit 230a75d
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: 55e5b7e022eaaa805a44e3b6ecd5c8638d862050
refs/heads/master: 7ce605d93b775e8a960b0be244f7be565e73b3c1
5 changes: 4 additions & 1 deletion trunk/fs/ncpfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1033,8 +1033,11 @@ static int ncp_rmdir(struct inode *dir, struct dentry *dentry)
DPRINTK("ncp_rmdir: removing %s/%s\n",
dentry->d_parent->d_name.name, dentry->d_name.name);

/*
* fail with EBUSY if there are still references to this
* directory.
*/
dentry_unhash(dentry);

error = -EBUSY;
if (!d_unhashed(dentry))
goto out;
Expand Down

0 comments on commit 230a75d

Please sign in to comment.