]> git.hungrycats.org Git - linux/commitdiff
[PATCH] missing spin_unlock() in sysfs_remove_dir()
authorAndrew Morton <akpm@digeo.com>
Sat, 8 Mar 2003 14:05:27 +0000 (06:05 -0800)
committerJames Bottomley <jejb@raven.il.steeleye.com>
Sat, 8 Mar 2003 14:05:27 +0000 (06:05 -0800)
missing spin_unlock() in sysfs_remove_dir()

fs/sysfs/dir.c

index e5a243aab34a75e2be30e215c886a9215371212a..c3f40c2c317f124de97f17b0c78c61c1f784f9a3 100644 (file)
@@ -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);