Commit f0c4a8cc authored by GUO Zihua's avatar GUO Zihua Committed by sanglipeng
Browse files

9p/fd: Use P9_HDRSZ for header size

stable inclusion
from stable-v5.10.159
commit 1331bcfcac181eaa4eaae82055c79791c02103e3
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7NTXH

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1331bcfcac181eaa4eaae82055c79791c02103e3

--------------------------------

[ Upstream commit 6854fadb ]

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: default avatarGUO Zihua <guozihua@huawei.com>
Reviewed-by: default avatarChristian Schoenebeck <linux_oss@crudebyte.com>
[Dominique: commit message adjusted to make sense after offset size
adjustment got removed]
Signed-off-by: default avatarDominique Martinet <asmadeus@codewreck.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 0114348f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment