git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vfs: push dentry_unhash on rmdir into file systems
[pandora-kernel.git]
/
fs
/
exofs
/
namei.c
diff --git
a/fs/exofs/namei.c
b/fs/exofs/namei.c
index
4d70db1
..
0697175
100644
(file)
--- a/
fs/exofs/namei.c
+++ b/
fs/exofs/namei.c
@@
-227,6
+227,8
@@
static int exofs_rmdir(struct inode *dir, struct dentry *dentry)
struct inode *inode = dentry->d_inode;
int err = -ENOTEMPTY;
+ dentry_unhash(dentry);
+
if (exofs_empty_dir(inode)) {
err = exofs_unlink(dir, dentry);
if (!err) {