Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=6285
[fs/lustre-release.git]
/
lustre
/
smfs
/
dir.c
diff --git
a/lustre/smfs/dir.c
b/lustre/smfs/dir.c
index
fe17f3a
..
6314a23
100644
(file)
--- a/
lustre/smfs/dir.c
+++ b/
lustre/smfs/dir.c
@@
-591,7
+591,9
@@
static int smfs_rmdir(struct inode *dir, struct dentry *dentry)
rc = -ENOMEM;
goto exit;
}
-
+
+ dentry_unhash(cache_dentry);
+
handle = smfs_trans_start(dir, FSFILT_OP_RMDIR, NULL);
if (IS_ERR(handle) ) {
rc = -ENOSPC;