VFS-FS protocol: add versioning
Change-Id: Ice6fbfd4b535b7435653fa08b27a3378d1cfdbf8
This commit is contained in:
@@ -33,7 +33,9 @@ int fs_readsuper()
|
||||
fs_m_out.RES_FILE_SIZE_LO = root_va->va_size;
|
||||
fs_m_out.RES_UID = root_va->va_uid;
|
||||
fs_m_out.RES_GID = root_va->va_gid;
|
||||
fs_m_out.RES_CONREQS = 1;
|
||||
fs_m_out.RES_PROTO = 0;
|
||||
VFS_FS_PROTO_PUT_VERSION(fs_m_out.RES_PROTO, VFS_FS_CURRENT_VERSION);
|
||||
VFS_FS_PROTO_PUT_CONREQS(fs_m_out.RES_PROTO, 1);
|
||||
|
||||
return(OK);
|
||||
}
|
||||
|
||||
+3
-1
@@ -62,7 +62,9 @@ int do_readsuper()
|
||||
m_out.RES_UID = sffs_params->p_uid;
|
||||
m_out.RES_GID = sffs_params->p_gid;
|
||||
m_out.RES_DEV = NO_DEV;
|
||||
m_out.RES_CONREQS = 1; /* We can handle only 1 request at a time */
|
||||
m_out.RES_PROTO = 0;
|
||||
VFS_FS_PROTO_PUT_VERSION(m_out.RES_PROTO, VFS_FS_CURRENT_VERSION);
|
||||
VFS_FS_PROTO_PUT_CONREQS(m_out.RES_PROTO, 1);
|
||||
|
||||
state.s_mounted = TRUE;
|
||||
|
||||
|
||||
@@ -35,7 +35,9 @@ int fs_readsuper(void)
|
||||
fs_m_out.RES_GID = root->i_stat.gid;
|
||||
fs_m_out.RES_DEV = NO_DEV;
|
||||
|
||||
fs_m_out.RES_CONREQS = 1;/* We can handle only 1 request at a time */
|
||||
fs_m_out.RES_PROTO = 0;
|
||||
VFS_FS_PROTO_PUT_VERSION(fs_m_out.RES_PROTO, VFS_FS_CURRENT_VERSION);
|
||||
VFS_FS_PROTO_PUT_CONREQS(fs_m_out.RES_PROTO, 1);
|
||||
|
||||
fs_mounted = TRUE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user