]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/configfs/dir.c
configfs: remove unnecessary dentry_unhash on rmdir, dir rename
[mv-sheeva.git] / fs / configfs / dir.c
index 9d17d350abc55ec3dfffca5282ba12f2d418facd..9a37a9b6de3a23f026f6dc0d9c2906e07b1f8bf0 100644 (file)
@@ -1359,8 +1359,6 @@ static int configfs_rmdir(struct inode *dir, struct dentry *dentry)
        struct module *subsys_owner = NULL, *dead_item_owner = NULL;
        int ret;
 
-       dentry_unhash(dentry);
-
        if (dentry->d_parent == configfs_sb->s_root)
                return -EPERM;