diff options
author | Xin Long <lucien.xin@gmail.com> | 2023-06-05 10:40:44 -0400 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-06 21:46:21 -0700 |
commit | ae28ea5cbdee9956464223b304d6c767238b2506 (patch) | |
tree | 2f2e747c927183b29a86f4b64a2d15133ace62e9 /fs/ocfs2/reservations.c | |
parent | be1f4a262b43576a6a81490b97ab19a6763f8c75 (diff) | |
download | lwn-ae28ea5cbdee9956464223b304d6c767238b2506.tar.gz lwn-ae28ea5cbdee9956464223b304d6c767238b2506.zip |
tipc: replace open-code bearer rcu_dereference access in bearer.c
Replace these open-code bearer rcu_dereference access with bearer_get(),
like other places in bearer.c. While at it, also use tipc_net() instead
of net_generic(net, tipc_net_id) to get "tn" in bearer.c.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: Larysa Zaremba <larysa.zaremba@intel.com>
Reviewed-by: Tung Nguyen <tung.q.nguyen@dektech.com.au>
Link: https://lore.kernel.org/r/1072588a8691f970bda950c7e2834d1f2983f58e.1685976044.git.lucien.xin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/ocfs2/reservations.c')
0 files changed, 0 insertions, 0 deletions