Commit c63ee4a5 authored by Namjae Jeon's avatar Namjae Jeon

ksmbd: change server config string index to enumeration

Change server config string index to enumeration.
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent b9cbfb52
......@@ -18,9 +18,14 @@ enum {
SERVER_STATE_SHUTTING_DOWN,
};
#define SERVER_CONF_NETBIOS_NAME 0
#define SERVER_CONF_SERVER_STRING 1
#define SERVER_CONF_WORK_GROUP 2
/*
* Server global config string index
*/
enum {
SERVER_CONF_NETBIOS_NAME,
SERVER_CONF_SERVER_STRING,
SERVER_CONF_WORK_GROUP,
};
struct ksmbd_server_config {
unsigned int flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment