NFSD: Use struct_size() helper in alloc_session()
Use struct_size() helper to simplify the code, no functional changes. Signed-off-by: NXiu Jianfeng <xiujianfeng@huawei.com> Reviewed-by: NJeff Layton <jlayton@kernel.org> Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
Showing
想要评论请 注册 或 登录