KEYS: Differentiate uses of rcu_dereference_key() and user_key_payload()
[linux-block.git] / fs / nfs / nfs4idmap.c
index c444285bb1b1698a985c1dd155ec83e12eb1cdd8..835c163f61af5324c988d1c38e51bfeb47983e76 100644 (file)
@@ -316,7 +316,7 @@ static ssize_t nfs_idmap_get_key(const char *name, size_t namelen,
        if (ret < 0)
                goto out_up;
 
-       payload = user_key_payload(rkey);
+       payload = user_key_payload_rcu(rkey);
        if (IS_ERR_OR_NULL(payload)) {
                ret = PTR_ERR(payload);
                goto out_up;