Pull bugzilla-5737 into release branch
[sfrench/cifs-2.6.git] / security / keys / request_key_auth.c
index cb9817ced3fd8ce3419bf52d449f6b191d8bbed4..cbf58a91b00a4c945ec72ca7db2867c19548dd6c 100644 (file)
@@ -187,7 +187,7 @@ struct key *request_key_auth_new(struct key *target, const char *callout_info)
        authkey = key_alloc(&key_type_request_key_auth, desc,
                            current->fsuid, current->fsgid, current,
                            KEY_POS_VIEW | KEY_POS_READ | KEY_POS_SEARCH |
-                           KEY_USR_VIEW, 1);
+                           KEY_USR_VIEW, KEY_ALLOC_NOT_IN_QUOTA);
        if (IS_ERR(authkey)) {
                ret = PTR_ERR(authkey);
                goto error_alloc;