summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/debugfs.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2023-04-06 11:12:45 -0700
committerEric Biggers <ebiggers@google.com>2023-04-06 11:16:39 -0700
commit83e57e47906ce0e99bd61c70fae514e69960d274 (patch)
tree3b242cfea96fa9f37838c357109d9884ad0b65ec /net/sunrpc/debugfs.c
parent41b2ad80fdcaafd42fce173cb95847d0cd8614c2 (diff)
downloadlinux-stable-83e57e47906ce0e99bd61c70fae514e69960d274.tar.gz
linux-stable-83e57e47906ce0e99bd61c70fae514e69960d274.tar.bz2
linux-stable-83e57e47906ce0e99bd61c70fae514e69960d274.zip
fscrypt: optimize fscrypt_initialize()
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/20230406181245.36091-1-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'net/sunrpc/debugfs.c')
0 files changed, 0 insertions, 0 deletions