android_kernel_sony_sdm845/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tejun Heo 41b248b887 BACKPORT: kernfs: convert kernfs_node->id from union kernfs_node_id to u64
kernfs_node->id is currently a union kernfs_node_id which represents
either a 32bit (ino, gen) pair or u64 value.  I can't see much value
in the usage of the union - all that's needed is a 64bit ID which the
current code is already limited to.  Using a union makes the code
unnecessarily complicated and prevents using 64bit ino without adding
practical benefits.

This patch drops union kernfs_node_id and makes kernfs_node->id a u64.
ino is stored in the lower 32bits and gen upper.  Accessors -
kernfs[_id]_ino() and kernfs[_id]_gen() - are added to retrieve the
ino and gen.  This simplifies ID handling less cumbersome and will
allow using 64bit inos on supported archs.

This patch doesn't make any functional changes.

Change-Id: I289fc21fdfd22b7c7cae73626665b0cb100a0c5f
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 18:02:33 +07:00
..
acpi
asm-generic UPSTREAM: bpf: Add BTF_ID_LIST/BTF_ID/BTF_ID_UNUSED macros 2026-05-15 17:59:28 +07:00
clocksource
crypto BACKPORT: crypto: scatterwalk - remove 'chain' argument from scatterwalk_crypto_chain() 2026-05-15 17:58:28 +07:00
drm treewide: Backport new vmalloc for large performance benefits 2026-05-15 17:48:25 +07:00
dt-bindings
keys
kvm
linux BACKPORT: kernfs: convert kernfs_node->id from union kernfs_node_id to u64 2026-05-15 18:02:33 +07:00
math-emu
media
memory
microvisor
misc
net BACKPORT: tcp: allow drivers to tweak TSQ logic 2026-05-15 17:59:25 +07:00
pcmcia
ras
rdma
rxrpc
scsi
soc
sound Revert "ANDROID: ALSA: jack: Update supported jack switch types" 2026-01-06 16:27:45 +02:00
target
trace BACKPORT: kernfs: convert kernfs_node->id from union kernfs_node_id to u64 2026-05-15 18:02:33 +07:00
uapi BACKPORT: blktrace: export cgroup info in trace 2026-05-15 18:02:32 +07:00
video
vservices
xen