summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorMax Kellermann <max.kellermann@ionos.com>2026-07-06 09:38:11 +0200
committerIlya Dryomov <idryomov@gmail.com>2026-08-26 19:57:28 +0200
commitaf05588c9700de133aad9f8ba623ad0469e174fe (patch)
tree3d6a3f109183dceadef13ec0f1c63137c8efcfea /scripts/const_structs.checkpatch
parent8619a36ff55ac8723bc449332460368f9a090a77 (diff)
downloadlinux-af05588c9700de133aad9f8ba623ad0469e174fe.tar.gz
linux-af05588c9700de133aad9f8ba623ad0469e174fe.zip
ceph: mark cap remove with RB_CLEAR_NODE() instead of setting ci=NULL
__ceph_remove_cap() erases the ceph_cap object from the RB tree, thus it seems natural to use RB_CLEAR_NODE() / RB_EMPTY_NODE() for the removal check. Signed-off-by: Max Kellermann <max.kellermann@ionos.com> Reviewed-by: Alex Markuze <amarkuze@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions