From 17a51fe768d2a46a368836bfd0dcf9f33de1a788 Mon Sep 17 00:00:00 2001 From: tappro Date: Thu, 23 Jun 2005 20:32:16 +0000 Subject: [PATCH] b=6285 - make smfs_rmdir behaves like vfs_rmdir --- lustre/smfs/dir.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lustre/smfs/dir.c b/lustre/smfs/dir.c index fe17f3a..6314a23 100644 --- 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; -- 1.8.3.1