Skip to content

Commit 01c9c30

Browse files
rddunlapbrauner
authored andcommitted
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: 1602bad ("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>
1 parent 76c63ff commit 01c9c30

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

fs/locks.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1681,8 +1681,9 @@ void lease_get_mtime(struct inode *inode, struct timespec64 *time)
16811681
EXPORT_SYMBOL(lease_get_mtime);
16821682

16831683
/**
1684-
* fcntl_getlease - Enquire what lease is currently active
1684+
* __fcntl_getlease - Enquire what lease is currently active
16851685
* @filp: the file
1686+
* @flavor: type of lease flags to check
16861687
*
16871688
* The value returned by this function will be one of
16881689
* (if no lease break is pending):

0 commit comments

Comments
 (0)