ecryptfs: simplify list initialization in ecryptfs_parse_packet_set()
authorBaolin Liu <liubaolin@kylinos.cn>
Tue, 11 Nov 2025 12:13:25 +0000 (20:13 +0800)
committerTyler Hicks <code@tyhicks.com>
Tue, 23 Dec 2025 21:23:23 +0000 (15:23 -0600)
commit5c31c9bf9e2ff0d6c065ff7f2ccf8a1e95ddbb49
treef05ced0265b7e44e98ee160843ede039042e11b9
parent111625ba8ab818c68928c8cbfde8775dcd5d6690
ecryptfs: simplify list initialization in ecryptfs_parse_packet_set()

In ecryptfs_parse_packet_set(),use LIST_HEAD() to declare and
initialize the 'auth_tok_list' list in one step instead of
using INIT_LIST_HEAD() separately.

No functional change.

Signed-off-by: Baolin Liu <liubaolin@kylinos.cn>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
fs/ecryptfs/keystore.c