summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorMateusz Guzik <mjguzik@gmail.com>2026-04-21 20:25:36 +0200
committerChristian Brauner <brauner@kernel.org>2026-05-11 23:12:28 +0200
commit769e143b115a4af75ecbc6d4e39d58b3e6fe2099 (patch)
tree0a7f60cf4f5f39aca2505890e0f625abd715dff2 /rust/kernel/alloc
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
fs: add icount_read_once() and stop open-coding ->i_count loads
Similarly to inode_state_read_once(), it makes the caller spell out they acknowledge instability of the returned value. Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Link: https://patch.msgid.link/20260421182538.1215894-2-mjguzik@gmail.com Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions