dfs:fix uninitialized 9pfs protocol lookup

This commit is contained in:
Aphlita
2026-04-26 09:31:40 +08:00
committed by Rbb666
parent ed74810e92
commit e17a3a6e85
@@ -923,7 +923,7 @@ static int dfs_9pfs_mount(struct dfs_filesystem *fs,
unsigned long rwflag, const void *data)
{
rt_ubase_t level;
struct p9_protocol *p9p, *p9p_tmp;
struct p9_protocol *p9p = RT_NULL, *p9p_tmp;
struct p9_connection *conn = RT_NULL;
if (!data)