diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2021-08-12 10:16:40 +0900 |
---|---|---|
committer | Namjae Jeon <namjae.jeon@samsung.com> | 2021-08-13 08:18:03 +0900 |
commit | f4228b678b410a401148f9ad9911d0013fa0f24e (patch) | |
tree | d026cbc54aeba41926988ca54989d0b0f6731bdc /fs/ksmbd/smb_common.h | |
parent | eebff916f07775b2ecd9186439e69a70af24630b (diff) | |
download | linux-f4228b678b410a401148f9ad9911d0013fa0f24e.tar.bz2 |
ksmbd: change int data type to boolean
Change data type of function that return only 0 or 1 to boolean.
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/smb_common.h')
-rw-r--r-- | fs/ksmbd/smb_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ksmbd/smb_common.h b/fs/ksmbd/smb_common.h index c4219c3432e2..eb667d85558e 100644 --- a/fs/ksmbd/smb_common.h +++ b/fs/ksmbd/smb_common.h @@ -473,7 +473,7 @@ struct smb_version_ops { void (*set_sign_rsp)(struct ksmbd_work *work); int (*generate_signingkey)(struct ksmbd_session *sess, struct ksmbd_conn *conn); int (*generate_encryptionkey)(struct ksmbd_session *sess); - int (*is_transform_hdr)(void *buf); + bool (*is_transform_hdr)(void *buf); int (*decrypt_req)(struct ksmbd_work *work); int (*encrypt_resp)(struct ksmbd_work *work); }; |