]> Gentwo Git Trees - linux/.git/commit
filelock: __fcntl_getlease: fix kernel-doc warnings
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 28 Nov 2025 00:08:26 +0000 (16:08 -0800)
committerChristian Brauner <brauner@kernel.org>
Fri, 28 Nov 2025 09:30:41 +0000 (10:30 +0100)
commit01c9c30aae317adc3ae7246f545b2c83b16ff314
treea4615e3a953f5acfb5dc061bbc80db6488066f5a
parent76c63ff12e067e1ff77b19a83c24774899ed01fc
filelock: __fcntl_getlease: fix kernel-doc warnings

Use the correct function name and add description for the @flavor
parameter to avoid these kernel-doc warnings:

Warning: fs/locks.c:1706 function parameter 'flavor' not described in
 '__fcntl_getlease'
WARNING: fs/locks.c:1706 expecting prototype for fcntl_getlease().
 Prototype was for __fcntl_getlease() instead

Fixes: 1602bad16d7d ("vfs: expose delegation support to userland")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patch.msgid.link/20251128000826.457120-1-rdunlap@infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/locks.c