]> err.no Git - linux-2.6/blobdiff - security/keys/key.c
[PATCH] Clean up struct flock64 definitions
[linux-2.6] / security / keys / key.c
index 3304d37bb379e1b23afbe732c4d2c93513c9e6d6..fb89f9844465587caa5f3333eabf1a877e0e0848 100644 (file)
@@ -980,7 +980,7 @@ void unregister_key_type(struct key_type *ktype)
        spin_unlock(&key_serial_lock);
 
        /* make sure everyone revalidates their keys */
-       synchronize_kernel();
+       synchronize_rcu();
 
        /* we should now be able to destroy the payloads of all the keys of
         * this type with impunity */