Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
57b9e88
)
b=6285
author
tappro
<tappro>
Thu, 23 Jun 2005 20:32:16 +0000
(20:32 +0000)
committer
tappro
<tappro>
Thu, 23 Jun 2005 20:32:16 +0000
(20:32 +0000)
- make smfs_rmdir behaves like vfs_rmdir
lustre/smfs/dir.c
patch
|
blob
|
history
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;