Files
kernel_realme_salaa/kernel
NeilBrown a01ea7b247 BACKPORT: cred: add get_cred_rcu()
97d0fb239c upstream

Sometimes we want to opportunistically get a
ref to a cred in an rcu_read_lock protected section.
get_task_cred() does this, and NFS does as similar thing
with its own credential structures.
To prepare for NFS converting to use 'struct cred' more
uniformly, define get_cred_rcu(), and use it in
get_task_cred().

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>

CONFLICTS:
cred: switch to using atomic_long_t
- resolve conflict by using `atomic_long_inc_not_zero`
  instead of `atomic_inc_not_zero`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
Signed-off-by: Naveen <133593113+elohim-etz@users.noreply.github.com>
2026-01-18 10:38:35 +00:00
..
2023-01-08 12:35:36 +00:00
2025-12-23 11:03:32 +00:00
2026-01-18 10:38:34 +00:00
2026-01-18 10:38:34 +00:00
2025-12-23 11:26:47 +00:00
2023-01-08 12:35:36 +00:00
2023-01-08 12:35:36 +00:00
2026-01-18 10:38:35 +00:00
2026-01-18 10:38:34 +00:00
2026-01-18 10:38:29 +00:00
2023-01-08 12:35:36 +00:00
2023-01-08 12:35:36 +00:00
2020-01-13 19:40:11 +00:00
2020-04-02 16:34:20 +02:00
2023-01-08 12:35:36 +00:00
2021-02-07 14:47:41 +01:00
2023-01-08 12:35:36 +00:00
2020-01-09 10:17:53 +01:00