mirror of https://github.com/OpenIPC/firmware.git
13 lines
422 B
Diff
13 lines
422 B
Diff
diff -drupN a/fs/nfs/nfs4idmap.c b/fs/nfs/nfs4idmap.c
|
|
--- a/fs/nfs/nfs4idmap.c 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/fs/nfs/nfs4idmap.c 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -316,7 +316,7 @@ static ssize_t nfs_idmap_get_key(const c
|
|
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;
|