]> git.baikalelectronics.ru Git - kernel.git/commit
9p/fd: Use P9_HDRSZ for header size
authorGUO Zihua <guozihua@huawei.com>
Thu, 17 Nov 2022 09:11:59 +0000 (17:11 +0800)
committerDominique Martinet <asmadeus@codewreck.org>
Fri, 18 Nov 2022 13:57:34 +0000 (22:57 +0900)
commit6854fadbeee10891ed74246bdc05031906b6c8cf
treece5d9e07ad323af43f8f1ca5a667a3fbbddc3b02
parent578b565b240afdfe0596d183f473f333eb9d3008
9p/fd: Use P9_HDRSZ for header size

Cleanup hardcoded header sizes to use P9_HDRSZ instead of '7'

Link: https://lkml.kernel.org/r/20221117091159.31533-4-guozihua@huawei.com
Signed-off-by: GUO Zihua <guozihua@huawei.com>
Reviewed-by: Christian Schoenebeck <linux_oss@crudebyte.com>
[Dominique: commit message adjusted to make sense after offset size
adjustment got removed]
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
net/9p/trans_fd.c