]> Pileus Git - ~andy/linux/blobdiff - security/keys/key.c
KEYS: Drop the permissions argument from __keyring_search_one()
[~andy/linux] / security / keys / key.c
index 1e23cc288106ff1f44eac21f598e91df53d25bc1..7d716b82a61e48ae7534b510ffb83cc49f360df8 100644 (file)
@@ -847,7 +847,7 @@ key_ref_t key_create_or_update(key_ref_t keyring_ref,
         * update that instead if possible
         */
        if (index_key.type->update) {
-               key_ref = __keyring_search_one(keyring_ref, &index_key, 0);
+               key_ref = __keyring_search_one(keyring_ref, &index_key);
                if (!IS_ERR(key_ref))
                        goto found_matching_key;
        }