fs: dcache remove dcache_lock
[deliverable/linux.git] / fs / notify / fsnotify.c
index ae769fc9b66c9c0e639f0f2fe7f1af9115eb2619..9be6ec1f36d838facd3647c16574ef3c75f97508 100644 (file)
@@ -59,7 +59,6 @@ void __fsnotify_update_child_dentry_flags(struct inode *inode)
        /* determine if the children should tell inode about their events */
        watched = fsnotify_inode_watches_children(inode);
 
-       spin_lock(&dcache_lock);
        spin_lock(&dcache_inode_lock);
        /* run all of the dentries associated with this inode.  Since this is a
         * directory, there damn well better only be one item on this list */
@@ -84,7 +83,6 @@ void __fsnotify_update_child_dentry_flags(struct inode *inode)
                spin_unlock(&alias->d_lock);
        }
        spin_unlock(&dcache_inode_lock);
-       spin_unlock(&dcache_lock);
 }
 
 /* Notify this dentry's parent about a child's events. */
This page took 0.058588 seconds and 5 git commands to generate.