Loading fs/ksmbd/mgmt/share_config.c +0 −14 Original line number Diff line number Diff line Loading @@ -222,17 +222,3 @@ bool ksmbd_share_veto_filename(struct ksmbd_share_config *share, } return false; } void ksmbd_share_configs_cleanup(void) { struct ksmbd_share_config *share; struct hlist_node *tmp; int i; down_write(&shares_table_lock); hash_for_each_safe(shares_table, i, tmp, share, hlist) { hash_del(&share->hlist); kill_share(share); } up_write(&shares_table_lock); } fs/ksmbd/mgmt/share_config.h +0 −2 Original line number Diff line number Diff line Loading @@ -76,6 +76,4 @@ static inline void ksmbd_share_config_put(struct ksmbd_share_config *share) struct ksmbd_share_config *ksmbd_share_config_get(char *name); bool ksmbd_share_veto_filename(struct ksmbd_share_config *share, const char *filename); void ksmbd_share_configs_cleanup(void); #endif /* __SHARE_CONFIG_MANAGEMENT_H__ */ Loading
fs/ksmbd/mgmt/share_config.c +0 −14 Original line number Diff line number Diff line Loading @@ -222,17 +222,3 @@ bool ksmbd_share_veto_filename(struct ksmbd_share_config *share, } return false; } void ksmbd_share_configs_cleanup(void) { struct ksmbd_share_config *share; struct hlist_node *tmp; int i; down_write(&shares_table_lock); hash_for_each_safe(shares_table, i, tmp, share, hlist) { hash_del(&share->hlist); kill_share(share); } up_write(&shares_table_lock); }
fs/ksmbd/mgmt/share_config.h +0 −2 Original line number Diff line number Diff line Loading @@ -76,6 +76,4 @@ static inline void ksmbd_share_config_put(struct ksmbd_share_config *share) struct ksmbd_share_config *ksmbd_share_config_get(char *name); bool ksmbd_share_veto_filename(struct ksmbd_share_config *share, const char *filename); void ksmbd_share_configs_cleanup(void); #endif /* __SHARE_CONFIG_MANAGEMENT_H__ */