Merge branch 'next-queue' into next
[~shefty/rdma-dev.git] / fs / cifs / cifsacl.c
index c1b254487388ab3a23ce4af9d1226e84a7ead901..3cc1b251ca08eba0a39fc4180d5de360c580f25c 100644 (file)
@@ -556,6 +556,7 @@ init_cifs_idmap(void)
 
        /* instruct request_key() to use this special keyring as a cache for
         * the results it looks up */
+       set_bit(KEY_FLAG_ROOT_CAN_CLEAR, &keyring->flags);
        cred->thread_keyring = keyring;
        cred->jit_keyring = KEY_REQKEY_DEFL_THREAD_KEYRING;
        root_cred = cred;