v9fs/client.c:fix struct attach wrong parameter size
Summary: Change uint16_t afid -> uint32_t afid in struct v9fs_attach_s See: https://github.com/chaos/diod/blob/master/protocol.md Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
parent
928656f3cb
commit
2ac2d5d511
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ begin_packed_struct struct v9fs_attach_s
|
|||
{
|
||||
struct v9fs_header_s header;
|
||||
uint32_t fid;
|
||||
uint16_t afid;
|
||||
uint32_t afid;
|
||||
uint8_t buffer[2 * (V9FS_BIT16SZ + NAME_MAX) + V9FS_BIT32SZ];
|
||||
} end_packed_struct;
|
||||
|
||||
|
|
Loading…
Reference in a new issue