diff options
| author | Mateusz Guzik <mjguzik@gmail.com> | 2026-04-21 20:25:37 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-05-11 23:12:29 +0200 |
| commit | ac8bcfc07d0ba68721a4ff750e7df12d203ae6ac (patch) | |
| tree | 97f0454dbe1442f31a320e35e56ba76f38b6d140 /include/linux | |
| parent | 769e143b115a4af75ecbc6d4e39d58b3e6fe2099 (diff) | |
| download | lwn-ac8bcfc07d0ba68721a4ff750e7df12d203ae6ac.tar.gz lwn-ac8bcfc07d0ba68721a4ff750e7df12d203ae6ac.zip | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
