Skip to content
Commit 85a0d0c9 authored by Xiu Jianfeng's avatar Xiu Jianfeng Committed by Chuck Lever
Browse files

NFSD: Use struct_size() helper in alloc_session()



Use struct_size() helper to simplify the code, no functional changes.

Signed-off-by: default avatarXiu Jianfeng <xiujianfeng@huawei.com>
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 01d53a88
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment