OpenCloudOS-Kernel/fs/ksmbd/mgmt
Atte Heikkilä 4963d74f8a ksmbd: request update to stale share config
ksmbd_share_config_get() retrieves the cached share config as long
as there is at least one connection to the share. This is an issue when
the user space utilities are used to update share configs. In that case
there is a need to inform ksmbd that it should not use the cached share
config for a new connection to the share. With these changes the tree
connection flag KSMBD_TREE_CONN_FLAG_UPDATE indicates this. When this
flag is set, ksmbd removes the share config from the shares hash table
meaning that ksmbd_share_config_get() ends up requesting a share config
from user space.

Signed-off-by: Atte Heikkilä <atteh.mailbox@gmail.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2022-08-11 01:05:18 -05:00
..
ksmbd_ida.c ksmbd: move fs/cifsd to fs/ksmbd 2021-06-28 16:28:31 +09:00
ksmbd_ida.h ksmbd: move fs/cifsd to fs/ksmbd 2021-06-28 16:28:31 +09:00
share_config.c ksmbd: request update to stale share config 2022-08-11 01:05:18 -05:00
share_config.h ksmbd: request update to stale share config 2022-08-11 01:05:18 -05:00
tree_connect.c ksmbd: request update to stale share config 2022-08-11 01:05:18 -05:00
tree_connect.h ksmbd: fix racy issue while destroying session on multichannel 2022-07-31 23:14:32 -05:00
user_config.c ksmbd: set RSS capable in FSCTL_QUERY_NETWORK_INTERFACE_INFO 2021-12-28 22:47:22 -06:00
user_config.h ksmbd: set RSS capable in FSCTL_QUERY_NETWORK_INTERFACE_INFO 2021-12-28 22:47:22 -06:00
user_session.c ksmbd: fix racy issue while destroying session on multichannel 2022-07-31 23:14:32 -05:00
user_session.h ksmbd: fix racy issue while destroying session on multichannel 2022-07-31 23:14:32 -05:00