]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
SUNRPC: Change list definition method
authorChenguang Zhao <zhaochenguang@kylinos.cn>
Mon, 8 Dec 2025 08:53:48 +0000 (16:53 +0800)
committerAnna Schumaker <anna.schumaker@oracle.com>
Mon, 9 Feb 2026 19:24:19 +0000 (14:24 -0500)
commitafb24505ff6583eb5150b4a54086188494d25c28
tree5caca7b6220e6802b2b051a71abfb36a1d1ceebc
parent728bea264883031c377fcc9c465b650dbfd1bbf5
SUNRPC: Change list definition method

The LIST_HEAD macro can both define a linked list and initialize
it in one step. To simplify code, we replace the separate operations
of linked list definition and manual initialization with the LIST_HEAD
macro.

Signed-off-by: Chenguang Zhao <zhaochenguang@kylinos.cn>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
net/sunrpc/backchannel_rqst.c