]> Gentwo Git Trees - linux/.git/commit
gfs2: document ip in __gfs2_holder_init kernel-doc comment
authorSukrut Heroorkar <hsukrut3@gmail.com>
Mon, 27 Oct 2025 11:00:41 +0000 (16:30 +0530)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 31 Oct 2025 21:04:17 +0000 (21:04 +0000)
commitde90521604fc5bf7473faf162b72bdbb23155165
treeef233b312bd44db95ece04f3dd55048bb597ad30
parent620fc27ef6a8321df64d400446169b7f24184259
gfs2: document ip in __gfs2_holder_init kernel-doc comment

Building with W=1 reports:
Warning: fs/gfs2/glock.c:1248 function parameter 'ip' not described
in '__gfs2_holder_init'

The ip parameter was added when __gfs2_holder_init started saving the
gfs2_glock_nq_init caller's return address to gh_ip. This makes it
easier to backtrack which holder took the lock. Document @ip to silence
this warning.

Fixes: b016d9a84abd ("gfs2: Save ip from gfs2_glock_nq_init")
Signed-off-by: Sukrut Heroorkar <hsukrut3@gmail.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glock.c