summaryrefslogtreecommitdiff
path: root/fs/file.c
diff options
context:
space:
mode:
authorLuis Henriques <lhenriques@suse.de>2024-02-06 10:16:19 +0000
committerEric Biggers <ebiggers@google.com>2024-02-06 16:55:35 -0800
commitd3a7bd4200762d11c33ebe7e2c47c5813ddc65b4 (patch)
tree08decabefb38a2de7ca4f2e1768a37803cb299d2 /fs/file.c
parent5befc19caec93f0088595b4d28baf10658c27a0f (diff)
fscrypt: clear keyring before calling key_put()
Now that the key quotas are handled immediately on key_put() instead of being postponed to the key management garbage collection worker, a call to keyring_clear() is all that is required in fscrypt_put_master_key() so that the keyring clean-up is also done synchronously. This patch should fix the fstest generic/581 flakiness. Signed-off-by: Luis Henriques <lhenriques@suse.de> Link: https://lore.kernel.org/r/20240206101619.8083-1-lhenriques@suse.de [ebiggers: added comment] Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions