Re: [PATCH 3/3] smb/server: check create_proc_shares() failure

ChenXiaoSong <[email protected]>
Newsgroups org.kernel.vger.linux-cifs
Message-ID <[email protected]>
These two procfs monitoring entries are indeed optional, if their 
creation fails, we should at least print an error message with `pr_err()`.

However, initialization does not happen frequently, would it be better 
to make sure all features are available when initialization completes?

On 8/14/26 13:44, Namjae Jeon wrote:
> Do you think we should abort ksmbd
> initialization when create_proc_sessions() or create_proc_shares()
> fail ?

-- 
ChenXiaoSong <[email protected]>
Chinese Homepage: https://chenxiaosong.com
English Homepage: https://chenxiaosong.com/en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.