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:
Namjae Jeon 2026-06-24 05:59:13 +09:00 committed by Steve French
parent f455ea21f2
commit da793cf6d6

View File

@ -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
*/