mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
ksmbd: fix kernel-doc warnings in smb2_lease_break_noti()
kernel test robot report missing kernel-doc descriptions for the 'wait_ack' and 'inc_epoch' parameters of smb2_lease_break_noti(): Warning: fs/smb/server/oplock.c:937 function parameter 'wait_ack' not described in 'smb2_lease_break_noti' Warning: fs/smb/server/oplock.c:937 function parameter 'inc_epoch' not described in 'smb2_lease_break_noti' Document both parameters to silence the warnings. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
f455ea21f2
commit
da793cf6d6
|
|
@ -967,6 +967,8 @@ static void __smb2_lease_break_noti(struct work_struct *wk)
|
|||
* smb2_lease_break_noti() - break lease when a new client request
|
||||
* write lease
|
||||
* @opinfo: contains lease state information
|
||||
* @wait_ack: wait for lease break acknowledgment from the client
|
||||
* @inc_epoch: increment the lease epoch before sending the break
|
||||
*
|
||||
* Return: 0 on success, otherwise error
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user