diff options
author | Jeff Layton <[email protected]> | 2020-08-05 14:50:48 -0400 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2023-08-22 09:01:48 +0200 |
commit | 4c793d4c58b7e57e1eb616e3d032df6b3789a4a3 (patch) | |
tree | 9b5f56b8164ce25ecec56bc24ffdfdfa49b9790f /net/lapb/lapb_in.c | |
parent | ec9595c080c6f0ba3ebcfc3013eac8f38b868b78 (diff) |
ceph: make ceph_msdc_build_path use ref-walk
Encryption potentially requires allocation, at which point we'll need to
be in a non-atomic context. Convert ceph_msdc_build_path to take dentry
spinlocks and references instead of using rcu_read_lock to walk the
path.
This is slightly less efficient, and we may want to eventually allow
using RCU when the leaf dentry isn't encrypted.
Signed-off-by: Jeff Layton <[email protected]>
Reviewed-by: Xiubo Li <[email protected]>
Reviewed-and-tested-by: Luís Henriques <[email protected]>
Reviewed-by: Milind Changire <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions