ksmbd: update the comment for smb2_get_ksmbd_tcon()
authorNamjae Jeon <namjae.jeon@samsung.com>
Thu, 12 Aug 2021 01:17:39 +0000 (10:17 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Thu, 12 Aug 2021 23:18:06 +0000 (08:18 +0900)
Update the comment for smb2_get_ksmbd_tcon().

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/smb2pdu.c

index 0de4163..4ac4fe2 100644 (file)
@@ -85,10 +85,11 @@ struct channel *lookup_chann_list(struct ksmbd_session *sess, struct ksmbd_conn
 }
 
 /**
- * smb2_get_ksmbd_tcon() - get tree connection information for a tree id
+ * smb2_get_ksmbd_tcon() - get tree connection information using a tree id.
  * @work:      smb work
  *
- * Return:      matching tree connection on success, otherwise error
+ * Return:     0 if there is a tree connection matched or these are
+ *             skipable commands, otherwise error
  */
 int smb2_get_ksmbd_tcon(struct ksmbd_work *work)
 {