summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorMateusz Guzik <mjguzik@gmail.com>2026-04-21 20:25:37 +0200
committerChristian Brauner <brauner@kernel.org>2026-05-11 23:12:29 +0200
commitac8bcfc07d0ba68721a4ff750e7df12d203ae6ac (patch)
tree97f0454dbe1442f31a320e35e56ba76f38b6d140 /rust/kernel/alloc
parent769e143b115a4af75ecbc6d4e39d58b3e6fe2099 (diff)
fs: relocate and tidy up ihold()
The placement was illogical, move it next to igrab(). Take this opportunity to add docs and an assert on the refcount. While its modification remains gated with a WARN_ON, the new assert will also dump the inode state which might aid debugging. No functional changes. Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Link: https://patch.msgid.link/20260421182538.1215894-3-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