ksmbd: change server config string index to enumeration
Change server config string index to enumeration. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
b9cbfb524d
commit
c63ee4a521
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user