diff options
| author | Randy Dunlap <rdunlap@infradead.org> | 2025-11-27 16:08:26 -0800 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-11-28 10:30:41 +0100 |
| commit | 01c9c30aae317adc3ae7246f545b2c83b16ff314 (patch) | |
| tree | a4615e3a953f5acfb5dc061bbc80db6488066f5a | |
| parent | 76c63ff12e067e1ff77b19a83c24774899ed01fc (diff) | |
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>
| -rw-r--r-- | fs/locks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/locks.c b/fs/locks.c index 7f4ccc7974bc..9f565802a88c 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1681,8 +1681,9 @@ void lease_get_mtime(struct inode *inode, struct timespec64 *time) EXPORT_SYMBOL(lease_get_mtime); /** - * fcntl_getlease - Enquire what lease is currently active + * __fcntl_getlease - Enquire what lease is currently active * @filp: the file + * @flavor: type of lease flags to check * * The value returned by this function will be one of * (if no lease break is pending): |
