mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
fscrypt_initialize() is a "one-time init" function that is called whenever the key is set up for any inode on any filesystem. Make it implement "one-time init" more efficiently by not taking a global mutex in the "already initialized case" and doing fewer pointer dereferences. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Eric Biggers <[email protected]>