summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorMax Kellermann <max.kellermann@ionos.com>2026-07-06 09:38:12 +0200
committerIlya Dryomov <idryomov@gmail.com>2026-08-26 19:57:28 +0200
commit0cb176595797466da1792aaff1124b74d9df6e81 (patch)
tree45395ceb412b9d54a99c6c34f659f646e3add6bc /scripts/const_structs.checkpatch
parentaf05588c9700de133aad9f8ba623ad0469e174fe (diff)
downloadlinux-0cb176595797466da1792aaff1124b74d9df6e81.tar.gz
linux-0cb176595797466da1792aaff1124b74d9df6e81.zip
ceph: pass inode pointer around instead of reloading it
All these functions already have a ceph_inode_info pointer, so let's use that instead of letting every function reload it from RAM (i.e. `ceph_cap.ci`). This eliminates several memory accesses. 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