Whamcloud - gitweb
- pevious commit was incomplete.
authortappro <tappro>
Sat, 25 Jun 2005 08:15:32 +0000 (08:15 +0000)
committertappro <tappro>
Sat, 25 Jun 2005 08:15:32 +0000 (08:15 +0000)
lustre/smfs/dir.c

index 6314a23..a73f7b2 100644 (file)
@@ -618,6 +618,7 @@ static int smfs_rmdir(struct inode *dir, struct dentry *dentry)
         smfs_trans_commit(dir, handle, 0);
 
 exit:
+       dput(cache_dentry);
         post_smfs_dentry(cache_dentry);
         post_smfs_dentry(cache_parent);
         RETURN(rc);