Commit 4398ab46 authored by Andrew Morton's avatar Andrew Morton Committed by James Bottomley

[PATCH] missing spin_unlock() in sysfs_remove_dir()

missing spin_unlock() in sysfs_remove_dir()
parent 0fff81de
......@@ -106,7 +106,7 @@ void sysfs_remove_dir(struct kobject * kobj)
pr_debug(" done\n");
node = dentry->d_subdirs.next;
}
spin_unlock(&dcache_lock);
up(&dentry->d_inode->i_sem);
d_invalidate(dentry);
simple_rmdir(parent->d_inode,dentry);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment